style: enable MultipleVariableDeclarations in checkstyle (#5175)

Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
This commit is contained in:
vaibhav9t1
2024-05-25 23:48:27 +05:30
committed by GitHub
parent 44ce6e7b0d
commit 9eaa2bb756
82 changed files with 299 additions and 121 deletions

View File

@@ -23,7 +23,8 @@ class InterpolationSearch {
*/
public int find(int[] array, int key) {
// Find indexes of two corners
int start = 0, end = (array.length - 1);
int start = 0;
int end = (array.length - 1);
// Since array is sorted, an element present
// in array must be in range defined by corner