aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/classes/jogamp/newt/DefaultEDTUtil.java2
-rw-r--r--src/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java2
-rw-r--r--src/newt/classes/jogamp/newt/swt/SWTEDTUtil.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/newt/classes/jogamp/newt/DefaultEDTUtil.java b/src/newt/classes/jogamp/newt/DefaultEDTUtil.java
index ec5126932..ef8ea66b6 100644
--- a/src/newt/classes/jogamp/newt/DefaultEDTUtil.java
+++ b/src/newt/classes/jogamp/newt/DefaultEDTUtil.java
@@ -78,7 +78,7 @@ public class DefaultEDTUtil implements EDTUtil {
@Override
final public void setPollPeriod(final long ms) {
- pollPeriod = ms;
+ pollPeriod = ms; // writing to static field is intended
}
@Override
diff --git a/src/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java b/src/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java
index c961669e8..39e68e48c 100644
--- a/src/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java
+++ b/src/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java
@@ -64,7 +64,7 @@ public class AWTEDTUtil implements EDTUtil {
@Override
final public void setPollPeriod(final long ms) {
- pollPeriod = ms;
+ pollPeriod = ms; // writing to static field is intended
}
@Override
diff --git a/src/newt/classes/jogamp/newt/swt/SWTEDTUtil.java b/src/newt/classes/jogamp/newt/swt/SWTEDTUtil.java
index af5590be6..794e989a6 100644
--- a/src/newt/classes/jogamp/newt/swt/SWTEDTUtil.java
+++ b/src/newt/classes/jogamp/newt/swt/SWTEDTUtil.java
@@ -74,7 +74,7 @@ public class SWTEDTUtil implements EDTUtil {
@Override
public void setPollPeriod(final long ms) {
- pollPeriod = ms;
+ pollPeriod = ms; // writing to static field is intended
}
@Override