aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 12:37:14 +0200
committerSven Gothel <[email protected]>2014-07-08 12:37:14 +0200
commitb388a572c8ef9c971dbc16b89069429cc67c0928 (patch)
tree2e55e550c567f97c5936e3f593a9e8451a3e823c /src/nativewindow
parent109e162a78ef5bab0a7481a8499ad1da48cea094 (diff)
Findbugs: Remove redundant instanceof checks
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java b/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java
index 7912832c1..cae37c36c 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java
@@ -52,9 +52,6 @@ public class DefaultGraphicsConfiguration implements Cloneable, AbstractGraphics
if(null == capsRequested) {
throw new IllegalArgumentException("Null requested caps");
}
- if( ! ( capsChosen instanceof VisualIDHolder ) ) {
- throw new IllegalArgumentException("Chosen caps is not implementing NativeVisualID");
- }
this.screen = screen;
this.capabilitiesChosen = capsChosen;
this.capabilitiesRequested = capsRequested;