Skip to content

Commit

Permalink
(cleanup) Don't ignore whitespace around enhanced for-loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
brcolow committed Jan 25, 2017
1 parent d464c62 commit fb816d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gradle/check/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
<property name="allowEmptyLambdas" value="true" />
<property name="allowEmptyLambdas" value="true"/>
<property name="ignoreEnhancedForColon" value="false"/>
</module>
<module name="EmptyCatchBlock">
<property name="commentFormat" value="expected"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ private static void preventShutdownWhenLastWindowIsClosed() {
*/
private static boolean isFXApplicationThreadRunning() {
Set<Thread> threads = Thread.getAllStackTraces().keySet();
for (Thread thread:threads) {
for (Thread thread : threads) {
if (thread.getName().equals("JavaFX Application Thread")) {
return true;
}
Expand Down

0 comments on commit fb816d1

Please sign in to comment.