Skip to content

Commit

Permalink
Remove some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Fourny committed Oct 28, 2024
1 parent 771cc06 commit e6d4493
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public StatementsAndOptionalExpr getBody() {

@Nullable
public List<Annotation> getAnnotations() {
return annotations;
return thisannotations;
}

@Override
Expand Down Expand Up @@ -252,7 +252,7 @@ public void serializeToJSONiq(StringBuffer sb, int indent) {
}

public boolean hasSequentialPropertyAnnotation() {
return hasSequentialPropertyAnnotation;
return this.hasSequentialPropertyAnnotation;
}

public void setHasExitStatement(boolean hasExitStatement) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public <T> T accept(AbstractNodeVisitor<T> visitor, T argument) {
@Override
public List<Node> getChildren() {
List<Node> result = new ArrayList<>();
blockStatements.forEach(statement -> {
this.blockStatements.forEach(statement -> {
if (statement != null) {
result.add(statement);
}
Expand All @@ -49,6 +49,6 @@ public void serializeToJSONiq(StringBuffer sb, int indent) {
}

public List<Statement> getBlockStatements() {
return blockStatements;
return this.blockStatements;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ public void serializeToJSONiq(StringBuffer sb, int indent) {
}

public Expression getTestCondition() {
return testCondition;
return this.testCondition;
}

public List<SwitchCaseStatement> getCases() {
return cases;
return this.cases;
}

public Statement getDefaultStatement() {
return defaultStatement;
return this.defaultStatement;
}
}

0 comments on commit e6d4493

Please sign in to comment.