summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-08-02 02:09:48 +0200
committerSven Gothel <[email protected]>2015-08-02 02:09:48 +0200
commitfb970d92bc737afe34e23a0667b1737c6b105fde (patch)
tree292e9f38c8b57450ad7bafde7689ab3c4e1c3e47 /src/java/com/jogamp/common/util
parentbea171a16539b16b493acc9cc0e102985e2939a6 (diff)
Fix Bitfield.put(..): Return previous value
Diffstat (limited to 'src/java/com/jogamp/common/util')
-rw-r--r--src/java/com/jogamp/common/util/Bitfield.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/Bitfield.java b/src/java/com/jogamp/common/util/Bitfield.java
index d7ada5a..4b2b9d5 100644
--- a/src/java/com/jogamp/common/util/Bitfield.java
+++ b/src/java/com/jogamp/common/util/Bitfield.java
@@ -173,7 +173,7 @@ public interface Bitfield {
* @param bitnum bit number, restricted to [0..{@link #size()}-1].
* @throws IndexOutOfBoundsException if {@code bitnum} is out of bounds
*/
- void put(final int bitnum, final boolean bit) throws IndexOutOfBoundsException;
+ boolean put(final int bitnum, final boolean bit) throws IndexOutOfBoundsException;
/**
* Set the bit at position <code>bitnum</code> according to <code>bit</code>.