No need to reevaluate 'resource != null'

This commit is contained in:
Jeff Smith 2014-08-15 14:25:38 -05:00 committed by Connor Tumbleson
parent f5765d37c8
commit 12107ecde8

View File

@ -503,8 +503,9 @@ public class InstructionMethodItem<T extends Instruction> extends MethodItem {
if (resource != null) {
writer.write(" # ");
writer.write(resource);
return true;
}
return (resource != null);
return false;
}
protected void writeFieldOffset(IndentingWriter writer) throws IOException {