This is neater

This commit is contained in:
Mumfrey committed 2016-02-08 14:08:46 +00:00
1 parent 590c11d6cd
commit 6e32c0069d
1 file changed
+3 -6
@@ -214,20 +214,17 @@ public class MixinApplicator {
try {
for (MixinTargetContext context : mixinContexts) {
current = context;
context.preApply(this.targetName, this.targetClass);
(current = context).preApply(this.targetName, this.targetClass);
}
for (ApplicatorPass pass : ApplicatorPass.values()) {
for (MixinTargetContext context : mixinContexts) {
current = context;
this.applyMixin(context, pass);
this.applyMixin(current = context, pass);
}
}
for (MixinTargetContext context : mixinContexts) {
current = context;
context.postApply(this.targetName, this.targetClass);
(current = context).postApply(this.targetName, this.targetClass);
}
} catch (InvalidMixinException ex) {
throw ex;