Skip to content

Commit

Permalink
Fixed incorrect javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
sangupta committed Dec 8, 2016
1 parent fd5bc1a commit f620ff6
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/main/java/com/sangupta/jerry/util/BitUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public static boolean isBitSet(int value, int bit) {
* @param bit
* the bit to set
*
* @return <code>true</code> if the bit was modified, <code>false</code>
* otherwise
* @return the updated value after setting the bit
*/
public static int setBit(int value, int bit) {
CheckUtils.checkArgument(bit >= LEAST_BIT, "Bit to set cannot be less than zero");
Expand All @@ -82,8 +81,7 @@ public static int setBit(int value, int bit) {
* @param bit
* the bit to clear
*
* @return <code>true</code> if bit was modified, <code>false</code>
* otherwise
* @return the updated value after setting the bit
*/
public static int clearBit(int value, int bit) {
CheckUtils.checkArgument(bit >= LEAST_BIT, "Bit to set cannot be less than zero");
Expand Down Expand Up @@ -120,8 +118,7 @@ public static boolean isBitSet(long value, int bit) {
* @param bit
* the bit to set
*
* @return <code>true</code> if bit was modified, <code>false</code>
* otherwise
* @return the updated value after setting the bit
*/
public static long setBit(long value, int bit) {
CheckUtils.checkArgument(bit >= LEAST_BIT, "Bit to set cannot be less than zero");
Expand All @@ -139,8 +136,7 @@ public static long setBit(long value, int bit) {
* @param bit
* the bit to clear
*
* @return <code>true</code> if bit was modified, <code>false</code>
* otherwise
* @return the updated value after setting the bit
*/
public static long clearBit(long value, int bit) {
CheckUtils.checkArgument(bit >= LEAST_BIT, "Bit to set cannot be less than zero");
Expand Down

0 comments on commit f620ff6

Please sign in to comment.