Skip to content

Commit 31cae48

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] sonarcloud fixes.
1 parent 386ca02 commit 31cae48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

algorithm-exercises-java/src/main/java/ae/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static boolean checkMagazineCompute(List<String> magazine, List<String> n
4646
if (dictionary.get(word) < 0) {
4747
throw new RansomNote().new InvalidValueException("Value can't go below 0");
4848
}
49-
} catch (Exception e) {
49+
} catch (Exception _) {
5050
return false;
5151
}
5252
}

algorithm-exercises-java/src/main/java/ae/projecteuler/Problem0023.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ public static Integer problem0023(int underLimit, int superLimit) {
6868
);
6969
Log.debug(log);
7070

71-
////////////////////
71+
// /////////////////
7272
// filter duplicates
73-
////////////////////
73+
// /////////////////
7474

7575
// Create a new LinkedHashSet
7676
Set<Integer> set = new LinkedHashSet<>();

0 commit comments

Comments
 (0)