From 27115b5f050e881f959a33c04e7d3988bfe676bf Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 8 Jul 2014 23:15:33 +0200 Subject: Findbugs: Use inner static class where possible --- .../classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/macosx') diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java index 6017c94e4..bc88d9ca9 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java @@ -175,7 +175,7 @@ public class MacOSXPbufferCGLDrawable extends MacOSXCGLDrawable { } // NSOpenGLPixelBuffer implementation - class NSOpenGLImpl implements GLBackendImpl { + static class NSOpenGLImpl implements GLBackendImpl { @Override public long create(final int renderTarget, final int internalFormat, final int width, final int height) { return CGL.createPBuffer(renderTarget, internalFormat, width, height); @@ -188,7 +188,7 @@ public class MacOSXPbufferCGLDrawable extends MacOSXCGLDrawable { } // CGL implementation - class CGLImpl implements GLBackendImpl { + static class CGLImpl implements GLBackendImpl { @Override public long create(final int renderTarget, final int internalFormat, final int width, final int height) { final PointerBuffer pbuffer = PointerBuffer.allocateDirect(1); -- cgit v1.2.3