Alexey Andreev 2015-02-20 16:55:35 +04:00
parent 869f252b69
commit 69857af688
2 changed files with 4 additions and 2 deletions

View File

@ -72,7 +72,7 @@ public class TObject {
o.monitor.owner = thread;
o.monitor.count += count;
callback.complete(null);
};
}
});
} else {
o.monitor.count += count;

View File

@ -35,7 +35,9 @@ class ResourceAccessorTransformer implements ClassHolderTransformer {
if (cls.getName().equals(ResourceAccessor.class.getName())) {
ResourceAccessorGenerator generator = new ResourceAccessorGenerator();
for (MethodHolder method : cls.getMethods()) {
vm.add(method.getReference(), generator);
if (!method.getName().equals("<init>")) {
vm.add(method.getReference(), generator);
}
}
}
}