Skip to content

Commit

Permalink
Fixed sonar warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev committed Feb 1, 2022
1 parent 1678e34 commit 1a83a03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/github/underscore/Underscore.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
*
* @author Valentyn Kolesnikov
*/
@SuppressWarnings({"java:S106", "java:S3740"})
@SuppressWarnings({"java:S106", "java:S2189", "java:S2272", "java:S3740", "java:S5852"})
public class Underscore<T> {
private static final Map<String, Function<String, String>> FUNCTIONS = newLinkedHashMap();
private static final Map<String, String> TEMPLATE_SETTINGS = new HashMap<>();
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/com/github/underscore/LodashTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;

import com.github.underscore.Tuple;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
Expand Down

0 comments on commit 1a83a03

Please sign in to comment.