diff --git a/app/src/processing/app/syntax/SyntaxUtilities.java b/app/src/processing/app/syntax/SyntaxUtilities.java index 84fc1b4d1..6eef977a0 100644 --- a/app/src/processing/app/syntax/SyntaxUtilities.java +++ b/app/src/processing/app/syntax/SyntaxUtilities.java @@ -131,7 +131,6 @@ public class SyntaxUtilities Font defaultFont = gfx.getFont(); Color defaultColor = gfx.getColor(); - int offset = 0; for(;;) { byte id = tokens.id; @@ -155,7 +154,6 @@ public class SyntaxUtilities else x = Utilities.drawTabbedText(line, x, y, gfx, expander, 0); line.offset += length; - offset += length; tokens = tokens.next; } diff --git a/app/src/processing/app/tools/AutoFormat.java b/app/src/processing/app/tools/AutoFormat.java index c2c109c06..572ea692c 100644 --- a/app/src/processing/app/tools/AutoFormat.java +++ b/app/src/processing/app/tools/AutoFormat.java @@ -639,7 +639,6 @@ public class AutoFormat implements Tool { case '\'': string[j++] = c; cc = getchr(); - int count = 0; while(cc != c && EOF == 0) { // max. length of line should be 256 diff --git a/app/src/processing/app/tools/MenuScroller.java b/app/src/processing/app/tools/MenuScroller.java index 2f0cd80cf..cb7495650 100644 --- a/app/src/processing/app/tools/MenuScroller.java +++ b/app/src/processing/app/tools/MenuScroller.java @@ -3,7 +3,6 @@ */ package processing.app.tools; -import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; diff --git a/app/test/processing/app/ReplacingTextGeneratesTwoUndoActionsTest.java b/app/test/processing/app/ReplacingTextGeneratesTwoUndoActionsTest.java index 8f7f7ca77..bd03f1108 100644 --- a/app/test/processing/app/ReplacingTextGeneratesTwoUndoActionsTest.java +++ b/app/test/processing/app/ReplacingTextGeneratesTwoUndoActionsTest.java @@ -3,7 +3,6 @@ package processing.app; import org.fest.swing.fixture.JMenuItemFixture; import org.junit.Test; import processing.app.helpers.JEditTextAreaFixture; -import processing.app.syntax.JEditTextArea; import static org.junit.Assert.assertEquals; diff --git a/arduino-core/src/processing/app/windows/Options.java b/arduino-core/src/processing/app/windows/Options.java index 6f5239172..acbf43d7c 100644 --- a/arduino-core/src/processing/app/windows/Options.java +++ b/arduino-core/src/processing/app/windows/Options.java @@ -18,6 +18,7 @@ import java.util.*; * @author TB */ public interface Options { + @SuppressWarnings("serial") Map UNICODE_OPTIONS = new HashMap() { { put(OPTION_TYPE_MAPPER, W32APITypeMapper.UNICODE);