Skip to content

Commit

Permalink
Fix regular <-> flat visitor adapter method names
Browse files Browse the repository at this point in the history
  • Loading branch information
NebelNidas committed Oct 12, 2023
1 parent 08b902f commit 8a7761e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/fabricmc/mappingio/FlatMappingVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ default boolean visitEnd() throws IOException {

// regular <-> flat visitor adaptation methods

default MappingVisitor asMethodVisitor() {
default MappingVisitor asRegularVisitor() {
return new FlatAsRegularMappingVisitor(this);
}

static FlatMappingVisitor fromMethodVisitor(MappingVisitor visitor) {
static FlatMappingVisitor fromRegularVisitor(MappingVisitor visitor) {
return new RegularAsFlatMappingVisitor(visitor);
}

Expand Down

0 comments on commit 8a7761e

Please sign in to comment.