1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-10-15 11:26:40 +03:00

Fixed a bunch of simple warnings in java code

This commit is contained in:
Cristian Maglie
2015-01-13 23:08:31 +01:00
parent 99715d22d9
commit 29d2ab72e2
5 changed files with 1 additions and 5 deletions

View File

@@ -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;
}

View File

@@ -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

View File

@@ -3,7 +3,6 @@
*/
package processing.app.tools;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;