Remove redundant casts, unnecessary object creation, and string ==

This commit is contained in:
mezz committed 2016-10-21 00:32:06 -07:00
1 parent 100784b51b
commit a4cd13282a
57 files changed
+180 -156

No files matched your search

@@ -18,7 +18,7 @@ class ControlMutationBox extends ControlListBox<IMutation> {
@Override
public IWidget createOption(final IMutation value, final int y) {
return new ControlMutationItem(((ControlScrollableContent<ControlList<IMutation>>) this).getContent(), value, this.species, y);
return new ControlMutationItem(this.getContent(), value, this.species, y);
}
public ControlMutationBox(final IWidget parent, final int x, final int y, final int width, final int height, final Type type) {