Skip to content

Commit 02bf8d6

Browse files
committed
Add missing static modifier to inner classes
1 parent ac91c59 commit 02bf8d6

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/processing/core/PApplet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2637,7 +2637,7 @@ public void updateListeners(Component comp) {
26372637
// protected int eventCount;
26382638

26392639

2640-
class InternalEventQueue {
2640+
static class InternalEventQueue {
26412641
protected Event queue[] = new Event[10];
26422642
protected int offset;
26432643
protected int count;

core/src/processing/data/Table.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3627,7 +3627,7 @@ protected void checkBounds(int row, int column) {
36273627
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36283628

36293629

3630-
class HashMapBlows {
3630+
static class HashMapBlows {
36313631
HashMap<String,Integer> dataToIndex = new HashMap<String, Integer>();
36323632
ArrayList<String> indexToData = new ArrayList<String>();
36333633

core/src/processing/opengl/PJOGL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ protected Tessellator createTessellator(TessellatorCallback callback) {
11951195
}
11961196

11971197

1198-
protected class Tessellator implements PGL.Tessellator {
1198+
protected static class Tessellator implements PGL.Tessellator {
11991199
protected GLUtessellator tess;
12001200
protected TessellatorCallback callback;
12011201
protected GLUCallback gluCallback;

core/src/processing/opengl/PShader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ protected void setPointAttribute(int vboId, int size, int type,
14381438
//
14391439
// Class to store a user-specified value for a uniform parameter
14401440
// in the shader
1441-
protected class UniformValue {
1441+
protected static class UniformValue {
14421442
static final int INT1 = 0;
14431443
static final int INT2 = 1;
14441444
static final int INT3 = 2;

0 commit comments

Comments
 (0)