From 6770a6b013f2950a10bbc6c351a1fbe53412be30 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 8 Jul 2014 12:41:11 +0200 Subject: Findbugs: Add comment about intended setting of static field by instance method. --- src/newt/classes/jogamp/newt/DefaultEDTUtil.java | 2 +- src/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java | 2 +- src/newt/classes/jogamp/newt/swt/SWTEDTUtil.java | 2 +- 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 -- cgit v1.2.3