Skip to content

Commit

Permalink
checkstyle: enforce whitespace after comma
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed Jan 27, 2018
1 parent c9a8fbe commit 092bd1a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
<property name="ignoreComments" value="true"/>
</module>
<module name="WhitespaceAround"/>
<module name="WhitespaceAfter">
<property name="tokens" value="COMMA"/>
</module>
<module name="UnusedImports"/>
<module name="SuppressionCommentFilter"/>
</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public enum ClueScroll
CLUE167("This anagram reveals who to speak to next: LADDER MEMO GUV", "Guard Vemmeldo", "Gnome Stronghold Bank", "3", ANAGRAM),
CLUE168("This anagram reveals who to speak to next: MAL IN TAU", "Luminata", "Near Burgh de Rott entrance", ANAGRAM),
CLUE169("This anagram reveals who to speak to next: HEORIC", "Eohric", "Burthorpe Castle, top floor", "36", ANAGRAM),
CLUE170("This anagram reveals who to speak to next: GOBLETS ODD TOES", "Otto Godblessed", "Otto's Grotto","2", ANAGRAM),
CLUE170("This anagram reveals who to speak to next: GOBLETS ODD TOES", "Otto Godblessed", "Otto's Grotto", "2", ANAGRAM),
CLUE171("This anagram reveals who to speak to next: LEAKEY", "Kaylee", "Rising Sun Inn in Falador", "18", ANAGRAM),
CLUE172("This anagram reveals who to speak to next: WOO AN EGG KIWI", "Awowogei", "Ape Atoll", "24", ANAGRAM),
CLUE173("This anagram reveals who to speak to next: ARE COL", "Oracle", "Ice Mountain West of Edgeville", "48", ANAGRAM),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class XpPanel extends PluginPanel
layoutPanel.add(totalPanel, BorderLayout.NORTH);

final JPanel infoBoxPanel = new JPanel();
infoBoxPanel.setLayout(new GridLayout(0,1,0,3));
infoBoxPanel.setLayout(new GridLayout(0, 1, 0, 3));
layoutPanel.add(infoBoxPanel, BorderLayout.CENTER);

try
Expand Down Expand Up @@ -142,4 +142,4 @@ static String formatLine(double number, String description)

return NumberFormat.getInstance().format(number) + " " + description;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public void render(Graphics2D graphics, OverlayLayer layer)
final Point bottomRightPoint = new Point();
bottomRightPoint.move(bounds.x + bounds.width - BORDER_RIGHT, bounds.y + bounds.height - BORDER_BOTTOM);
final Point rightChatboxPoint = new Point();
rightChatboxPoint.move(bounds.x + chatboxBounds.width - BORDER_RIGHT,bounds.y + bounds.height - BORDER_BOTTOM);
rightChatboxPoint.move(bounds.x + chatboxBounds.width - BORDER_RIGHT, bounds.y + bounds.height - BORDER_BOTTOM);

//check to see if Chatbox is minimized
if (chatbox != null && client.isResized() && chatbox.isHidden())
Expand Down

0 comments on commit 092bd1a

Please sign in to comment.