Skip to content

Commit

Permalink
meet code standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Shweit committed Sep 4, 2024
1 parent 8a62e93 commit 2138b0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.ArrayList;
import java.util.List;

public class VersionCommand implements CommandExecutor, TabExecutor {
public final class VersionCommand implements CommandExecutor, TabExecutor {

@Override
public boolean onCommand(final CommandSender commandSender, final Command command, final String s, final String[] args) {
Expand All @@ -36,9 +36,10 @@ public boolean onCommand(final CommandSender commandSender, final Command comman
}

return true;
}

return false;
default:
return false;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ private String fetchLatestVersion() {
return null;
}
}
}
}

0 comments on commit 2138b0b

Please sign in to comment.