Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
nahsra committed Feb 17, 2024
1 parent 495b46c commit 0ad30dc
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ protected void defineConstant(final String constantName) {

/**
* Adds a {@link FieldDeclaration} as the last member of the provided {@link
* ClassOrInterfaceDeclaration}. Adding last seems like it would be <a href="https://github.com/pixee/codemodder-java/issues/288">preferred by users and better for JavaParser to match the existing indentation</a>.
*/
* ClassOrInterfaceDeclaration}. Adding last seems like it would be <a
* href="https://github.com/pixee/codemodder-java/issues/288">preferred by users and better for
* JavaParser to match the existing indentation</a>.
*/
private void addConstantFieldToClass(final FieldDeclaration constantField) {
final NodeList<BodyDeclaration<?>> members = classOrInterfaceDeclaration.getMembers();
members.addLast(constantField);
Expand Down

0 comments on commit 0ad30dc

Please sign in to comment.