From be2b608e22d9a2a3a80eb547bee6180c2ca22678 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 8 Jul 2014 22:05:56 +0200 Subject: Findbugs: Add comments that FB warnings are of no concern .. --- src/jogl/classes/com/jogamp/graph/geom/SVertex.java | 2 +- src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/com/jogamp') diff --git a/src/jogl/classes/com/jogamp/graph/geom/SVertex.java b/src/jogl/classes/com/jogamp/graph/geom/SVertex.java index 4846ff5f1..dc6982025 100644 --- a/src/jogl/classes/com/jogamp/graph/geom/SVertex.java +++ b/src/jogl/classes/com/jogamp/graph/geom/SVertex.java @@ -212,7 +212,7 @@ public class SVertex implements Vertex { */ @Override public SVertex clone(){ - return new SVertex(this); + return new SVertex(this); // OK to not call super.clone(), using own copy-ctor } @Override diff --git a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java index 078b48ec2..83fceeb2f 100644 --- a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java +++ b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java @@ -354,7 +354,7 @@ public class GLRendererQuirks { * otherwise false. */ public static boolean areSameStickyDevice(final AbstractGraphicsDevice device1, final AbstractGraphicsDevice device2) { - return device1.getUniqueID() == device2.getUniqueID(); + return device1.getUniqueID() == device2.getUniqueID(); // uses .intern()! } /** -- cgit v1.2.3