diff --git a/main/pom.xml b/main/pom.xml index 20b443fd8..fd6583f2e 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -42,11 +42,11 @@ https://github.com/jmockit/jmockit1/issues - - gh-pages-scm - gh-pages-scm - scm:git:ssh://git@github.com/hazendaz/jmockit1.git - + + gh-pages-scm + gh-pages-scm + scm:git:ssh://git@github.com/hazendaz/jmockit1.git + diff --git a/main/src/mockit/asm/constantPool/ConstantPoolGeneration.java b/main/src/mockit/asm/constantPool/ConstantPoolGeneration.java index 0e768ee4b..3494993e0 100644 --- a/main/src/mockit/asm/constantPool/ConstantPoolGeneration.java +++ b/main/src/mockit/asm/constantPool/ConstantPoolGeneration.java @@ -390,9 +390,10 @@ public Item newConstItem(@Nonnull Object cst) { if (cst instanceof MethodHandle) { return newMethodHandleItem((MethodHandle) cst); } - if(cst instanceof DynamicItem) { - DynamicItem dynamicItem = (DynamicItem) cst; - return createDynamicItem(dynamicItem.type, dynamicItem.name, dynamicItem.desc, dynamicItem.bsmIndex); + + if (cst instanceof DynamicItem) { + DynamicItem dynamicItem = (DynamicItem) cst; + return createDynamicItem(dynamicItem.type, dynamicItem.name, dynamicItem.desc, dynamicItem.bsmIndex); } throw new IllegalArgumentException("value " + cst); }