From 61a29a96a56cfe4eaf3671a50ce56b97211ff3b2 Mon Sep 17 00:00:00 2001 From: magnusulf Date: Fri, 21 Nov 2014 23:28:11 +0100 Subject: [PATCH] Minor Change Turning a method returning boolean if(something) into a single line. --- .../com/massivecraft/massivecore/cmd/MassiveCommand.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/com/massivecraft/massivecore/cmd/MassiveCommand.java b/src/main/java/com/massivecraft/massivecore/cmd/MassiveCommand.java index 6ef89303..0589329f 100644 --- a/src/main/java/com/massivecraft/massivecore/cmd/MassiveCommand.java +++ b/src/main/java/com/massivecraft/massivecore/cmd/MassiveCommand.java @@ -587,11 +587,7 @@ public class MassiveCommand public boolean argIsSet(int idx) { - if (this.args.size() < idx+1) - { - return false; - } - return true; + return ! (this.args.size() < idx+1); } // arg