Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Machine-Maker committed Jun 20, 2024
1 parent 4cd1128 commit 296b2e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/papermc/asm/rules/rename/RenameRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ public Builder fieldByInternal(final String owner, final String legacyFieldName,
}

/**
* Note that you also have to remap the method for the annotation attribute
* Note that you also have to remap the method for the annotation attribute.
*/
public Builder annotationAttribute(final ClassDesc owner, final String legacyName, final String newName) {
return this.annotationAttribute(owner.descriptorString(), legacyName, newName);
}

/**
* Note that you also have to remap the method for the annotation attribute
* Note that you also have to remap the method for the annotation attribute.
*/
public Builder annotationAttribute(final String ownerDescriptor, final String legacyName, final String newName) {
if (!ownerDescriptor.startsWith("L") || !ownerDescriptor.endsWith(";")) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Custom extensions of asm-commons's mappers to
* include remapping enum values in annotations
* include remapping enum values in annotations.
*/
package io.papermc.asm.rules.rename;

0 comments on commit 296b2e4

Please sign in to comment.