Skip to content

Commit 8cece6c

Browse files
github-actionsgithub-actions
github-actions
authored and
github-actions
committedApr 14, 2021
Formatted with Google Java Formatter
1 parent b8707e6 commit 8cece6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Searches/BinarySearch.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private <T extends Comparable<T>> int search(T array[], T key, int left, int rig
4545
if (right < left) return -1; // this means that the key not found
4646

4747
// find median
48-
int median = left + ((right-left) >>> 1);
48+
int median = left + ((right - left) >>> 1);
4949
int comp = key.compareTo(array[median]);
5050

5151
if (comp == 0) {

0 commit comments

Comments
 (0)
Please sign in to comment.