@@ -3227,10 +3227,10 @@ public static ByteString bitNot(ByteString b) {
32273227 return new ByteString (result );
32283228 }
32293229 /**
3230- * Bitwise left shift operator {@code <<} applied to integer values.
3230+ * Bitwise left shift operator {@code <<} applied to integer values.
32313231 * Checks that the shift count is non-negative before performing the shift.
32323232 *
3233- * <p>This method is typically used for the SQL {@code <<} operator
3233+ * <p>This method is typically used for the SQL {@code <<} operator
32343234 * when applied to INTEGER operands.
32353235 *
32363236 * @param a The integer value to shift.
@@ -3246,10 +3246,10 @@ public static int leftShift(int a, int b) {
32463246 }
32473247
32483248 /**
3249- * Bitwise left shift operator {@code << } applied to integer values.
3249+ * Bitwise left shift operator {@code << } applied to integer values.
32503250 * Checks that the shift count is non-negative before performing the shift.
32513251 *
3252- * <p>This method is typically used for the SQL {@code <<} operator
3252+ * <p>This method is typically used for the SQL {@code <<} operator
32533253 * when applied to INTEGER operands.
32543254 *
32553255 * @param a The long value to shift.
@@ -3265,10 +3265,10 @@ public static long leftShift(long a, int b) {
32653265 }
32663266
32673267 /**
3268- * Bitwise left shift operator {@code <<} applied to integer values.
3268+ * Bitwise left shift operator {@code <<} applied to integer values.
32693269 * Checks that the shift count is non-negative before performing the shift.
32703270 *
3271- * <p>This method is typically used for the SQL {@code <<} operator
3271+ * <p>This method is typically used for the SQL {@code <<} operator
32723272 * when applied to INTEGER operands.
32733273 *
32743274 * @param a The integer value to shift.
@@ -3283,10 +3283,10 @@ public static long leftShift(int a, long b) {
32833283 return (long ) a << b ;
32843284 }
32853285 /**
3286- * Bitwise left shift operator {@code << } applied to integer values.
3286+ * * Bitwise left shift operator {@code << } applied to integer values.
32873287 * Checks that the shift count is non-negative before performing the shift.
32883288 *
3289- * <p>This method is typically used for the SQL {@code <<} operator
3289+ * <p>This method is typically used for the SQL {@code <<} operator
32903290 * when applied to INTEGER operands.
32913291 *
32923292 * @param a The long value to shift.
@@ -3342,7 +3342,7 @@ public static long rightShift(long a, int b) {
33423342 return a >> b ;
33433343 }
33443344 /**
3345- * Bitwise signed RIGHTSHIFT FUNCTION applied to a int value and an long shift count.
3345+ * Bitwise signed RIGHTSHIFT FUNCTION applied to an int value and a long shift count.
33463346 * Checks that the shift count is non-negative before performing the shift.
33473347 *
33483348 * <p>This method is typically used for the RIGHTSHIFT FUNCTION
@@ -3376,7 +3376,7 @@ public static long rightShift(int a, long b) {
33763376 */
33773377 public static @ Nullable Integer rightShift (@ Nullable Integer a , @ Nullable Integer b ) {
33783378 if (a == null || b == null ) {
3379- return null ; // Handle nulls first according to SQL standard
3379+ return null ; // Handle nulls first, according to SQL standard
33803380 }
33813381 if (b < 0 ) { // Check negative only if non-null
33823382 throw new IllegalArgumentException ("Shift count must be non-negative" );
@@ -3401,7 +3401,7 @@ public static long rightShift(int a, long b) {
34013401 */
34023402 public static @ Nullable Long rightShift (@ Nullable Long a , @ Nullable Integer b ) {
34033403 if (a == null || b == null ) {
3404- return null ; // Handle nulls first according to SQL standard
3404+ return null ; // Handle nulls first, according to SQL standard
34053405 }
34063406 if (b < 0 ) { // Check negative only if non-null
34073407 throw new IllegalArgumentException ("Shift count must be non-negative" );
0 commit comments