Skip to content

Commit

Permalink
move enum to another package
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Sep 15, 2023
1 parent 30dc28b commit 1ac339d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import java.util.List;
import java.util.stream.Stream;

import static fr.greencodeinitiative.java.checks.ConstOrLiteralDeclare.isLiteral;
import fr.greencodeinitiative.java.checks.enums.ConstOrLiteralDeclare;
import static fr.greencodeinitiative.java.checks.enums.ConstOrLiteralDeclare.isLiteral;
import static java.util.Arrays.asList;

import org.sonar.check.Rule;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fr.greencodeinitiative.java.checks;
package fr.greencodeinitiative.java.checks.enums;

import java.math.BigDecimal;
import java.util.Set;
Expand All @@ -18,7 +18,7 @@
import static org.sonar.plugins.java.api.tree.Tree.Kind.TYPE_CAST;
import org.sonar.plugins.java.api.tree.TypeCastTree;

enum ConstOrLiteralDeclare {
public enum ConstOrLiteralDeclare {

BOOLEAN {
@Override
Expand Down

0 comments on commit 1ac339d

Please sign in to comment.