diff options
author | Sven Gothel <[email protected]> | 2012-06-21 20:14:46 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-06-21 20:14:46 +0200 |
commit | 1c05c85e1ccc480da227cd6aa4718efd386e1e35 (patch) | |
tree | e71f4cf6e02b5970d0625a3fa1cc0a57200a53ba /src/test/com/jogamp | |
parent | 533e072a592826df53b90491bcaa606dfddaf646 (diff) |
JOGL CapabilitiesChooser-API and impl.: Cleanup using generics: 'List l' -> 'List<? extends CapabilitiesImmutable> l'
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/caps/MultisampleChooser01.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/caps/MultisampleChooser01.java b/src/test/com/jogamp/opengl/test/junit/jogl/caps/MultisampleChooser01.java index c2182b8b7..efdd2e16d 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/caps/MultisampleChooser01.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/caps/MultisampleChooser01.java @@ -40,12 +40,17 @@ package com.jogamp.opengl.test.junit.jogl.caps; import java.util.List; + +import javax.media.nativewindow.CapabilitiesImmutable; import javax.media.opengl.DefaultGLCapabilitiesChooser; import javax.media.opengl.GLCapabilitiesImmutable; class MultisampleChooser01 extends DefaultGLCapabilitiesChooser { - public int chooseCapabilities(GLCapabilitiesImmutable desired, List/*<GLCapabilitiesImmutable>*/ available, int windowSystemRecommendedChoice) { + @Override + public int chooseCapabilities(final CapabilitiesImmutable desired, + final List<? extends CapabilitiesImmutable> available, + final int windowSystemRecommendedChoice) { boolean anyHaveSampleBuffers = false; for (int i = 0; i < available.size(); i++) { GLCapabilitiesImmutable caps = (GLCapabilitiesImmutable) available.get(i); |