prefer isEmpty over length() == 0
This commit is contained in:
@@ -179,7 +179,7 @@ public class ContainerCraftConfirm extends AEBaseContainer
|
||||
this.sendCPUs();
|
||||
}
|
||||
|
||||
this.noCPU = this.cpus.size() == 0;
|
||||
this.noCPU = this.cpus.isEmpty();
|
||||
|
||||
super.detectAndSendChanges();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user