Skip to content

Commit

Permalink
Fix warning class is exposed outside its initial visibility context
Browse files Browse the repository at this point in the history
  • Loading branch information
casid committed Feb 10, 2024
1 parent 64553f6 commit 5e206e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jte/src/main/java/gg/jte/compiler/TemplateParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ private void doParse(int startingDepth) {
}
}

@SuppressWarnings("SameParameterValue")
private int countBefore(char c) {
int count = 0;
for (int j = i - 1; j >= 0; --j) {
Expand Down Expand Up @@ -968,11 +969,11 @@ private void completeParamsIfRequired() {
}
}

interface VisitorCallback {
public interface VisitorCallback {
void accept(int depth, String content);
}

interface Mode {
public interface Mode {
Mode Import = new StatelessMode("Import");
Mode Param = new StatelessMode("Param");
Mode Text = new StatelessMode("Text");
Expand Down

0 comments on commit 5e206e1

Please sign in to comment.