summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 12:40:28 +0200
committerSven Gothel <[email protected]>2014-07-08 12:40:28 +0200
commit3a5c8c722ae23b7724d285a53aa5c7e3e6e400d9 (patch)
treee9868124fd2f1bc7e47b97486cbb173af3ae00bd /src/newt/classes/jogamp
parent81af9b231847f695e6ba1d734209e1e532bbf922 (diff)
Findbugs: Fix WindowImpl.getReconfigureFlags(..): Remove sloppy useless assignment-or, replace by plain or
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index 29a0b1e21..c9a5d9277 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -661,12 +661,12 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
return 0 == ( changeFlags & FLAG_IS_FULLSCREEN_SPAN );
}
- protected int getReconfigureFlags(int changeFlags, final boolean visible) {
- return changeFlags |= ( ( 0 != getParentWindowHandle() ) ? FLAG_HAS_PARENT : 0 ) |
- ( isUndecorated() ? FLAG_IS_UNDECORATED : 0 ) |
- ( isFullscreen() ? FLAG_IS_FULLSCREEN : 0 ) |
- ( isAlwaysOnTop() ? FLAG_IS_ALWAYSONTOP : 0 ) |
- ( visible ? FLAG_IS_VISIBLE : 0 ) ;
+ protected int getReconfigureFlags(final int changeFlags, final boolean visible) {
+ return changeFlags | ( ( 0 != getParentWindowHandle() ) ? FLAG_HAS_PARENT : 0 ) |
+ ( isUndecorated() ? FLAG_IS_UNDECORATED : 0 ) |
+ ( isFullscreen() ? FLAG_IS_FULLSCREEN : 0 ) |
+ ( isAlwaysOnTop() ? FLAG_IS_ALWAYSONTOP : 0 ) |
+ ( visible ? FLAG_IS_VISIBLE : 0 ) ;
}
protected static String getReconfigureFlagsAsString(StringBuilder sb, final int flags) {
if(null == sb) { sb = new StringBuilder(); }