mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
clean up syntax
This commit is contained in:
@@ -772,7 +772,7 @@ public class JavaTextAreaPainter extends TextAreaPainter
|
||||
}
|
||||
|
||||
|
||||
private String replaceString(String str, int start, int end, String put) {
|
||||
static private String replaceString(String str, int start, int end, String put) {
|
||||
return str.substring(0, start) + put + str.substring(end, str.length());
|
||||
}
|
||||
|
||||
|
||||
@@ -736,16 +736,7 @@ public class SketchParser {
|
||||
}
|
||||
|
||||
static private boolean isWhiteSpace(char c) {
|
||||
if (c == ' ' ||
|
||||
c == '\t' ||
|
||||
c == '\n' ||
|
||||
c == '\r') {
|
||||
return true;
|
||||
}
|
||||
|
||||
int[][] a = {{1,2},{3,4}};
|
||||
|
||||
return false;
|
||||
return c == ' ' || c == '\t' || c == '\n' || c == '\r';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user