mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
style: enable MultipleVariableDeclarations in checkstyle (#5175)
Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
This commit is contained in:
@@ -32,7 +32,10 @@ public final class IterativeBinarySearch implements SearchAlgorithm {
|
||||
*/
|
||||
@Override
|
||||
public <T extends Comparable<T>> int find(T[] array, T key) {
|
||||
int l, r, k, cmp;
|
||||
int l;
|
||||
int r;
|
||||
int k;
|
||||
int cmp;
|
||||
|
||||
l = 0;
|
||||
r = array.length - 1;
|
||||
|
||||
Reference in New Issue
Block a user