aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 12:41:11 +0200
committerSven Gothel <[email protected]>2014-07-08 12:41:11 +0200
commit6770a6b013f2950a10bbc6c351a1fbe53412be30 (patch)
treef65610ea2d9c11bccda72860141ce192bf6fe4e9 /src/newt
parent3a5c8c722ae23b7724d285a53aa5c7e3e6e400d9 (diff)
Findbugs: Add comment about intended setting of static field by instance method.
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