Skip to content

Commit

Permalink
Follow conventions for factory methods
Browse files Browse the repository at this point in the history
Signed-off-by: TheSilkMiner <thesilkminer@outlook.com>
  • Loading branch information
TheSilkMiner committed Jul 25, 2022
1 parent 0632fa0 commit 06b05d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public final class FabricTierFactoryExpansions {
private FabricTierFactoryExpansions() {}

@ZenCodeType.Method
@ZenCodeType.Method("create")
public static TierReference of(
@SuppressWarnings("unused") final TierFactory $this,
final String name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public final class ForgeTierFactoryExpansions {
private ForgeTierFactoryExpansions() {}

@ZenCodeType.Method
@ZenCodeType.Method("create")
public static TierReference of(
@SuppressWarnings("unused") final TierFactory $this,
final String name,
Expand Down

0 comments on commit 06b05d2

Please sign in to comment.