From db41da5ad76abbdc82262e30e8b7c596f969eaff Mon Sep 17 00:00:00 2001 From: "P. Most" Date: Sat, 14 May 2016 22:33:25 +0200 Subject: [PATCH] Removed unnecessary semicolons --- DroidFish/.settings/org.eclipse.jdt.core.prefs | 1 + .../net/margaritov/preference/colorpicker/ColorPickerView.java | 2 +- DroidFish/src/org/petero/droidfish/gamelogic/Game.java | 2 +- DroidFish/src/org/petero/droidfish/gamelogic/PgnToken.java | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/DroidFish/.settings/org.eclipse.jdt.core.prefs b/DroidFish/.settings/org.eclipse.jdt.core.prefs index 1add5a0..56cca0f 100644 --- a/DroidFish/.settings/org.eclipse.jdt.core.prefs +++ b/DroidFish/.settings/org.eclipse.jdt.core.prefs @@ -5,4 +5,5 @@ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.emptyStatement=warning org.eclipse.jdt.core.compiler.source=1.6 diff --git a/DroidFish/src/net/margaritov/preference/colorpicker/ColorPickerView.java b/DroidFish/src/net/margaritov/preference/colorpicker/ColorPickerView.java index b16cd7f..97a5d35 100644 --- a/DroidFish/src/net/margaritov/preference/colorpicker/ColorPickerView.java +++ b/DroidFish/src/net/margaritov/preference/colorpicker/ColorPickerView.java @@ -903,7 +903,7 @@ public class ColorPickerView extends View { mValShader = null; mSatShader = null; mHueShader = null; - mAlphaShader = null;; + mAlphaShader = null; requestLayout(); } diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/Game.java b/DroidFish/src/org/petero/droidfish/gamelogic/Game.java index d4d7fbf..ccbe227 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/Game.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/Game.java @@ -79,7 +79,7 @@ public class Game { ADD_LAST, /** Remove all variations not matching the new move. */ REPLACE - }; + } /** Set whether new moves are entered as mainline moves or variations. */ public final void setAddFirst(AddMoveBehavior amb) { diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/PgnToken.java b/DroidFish/src/org/petero/droidfish/gamelogic/PgnToken.java index 01b8704..52c79d3 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/PgnToken.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/PgnToken.java @@ -59,5 +59,5 @@ public class PgnToken { /** Change current move number. */ public void setCurrent(GameTree.Node node); - }; + } }