diff options
author | Sven Gothel <[email protected]> | 2014-07-08 12:37:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-08 12:37:14 +0200 |
commit | b388a572c8ef9c971dbc16b89069429cc67c0928 (patch) | |
tree | 2e55e550c567f97c5936e3f593a9e8451a3e823c /src/nativewindow/classes | |
parent | 109e162a78ef5bab0a7481a8499ad1da48cea094 (diff) |
Findbugs: Remove redundant instanceof checks
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java | 3 |
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; |