From 7dd0eeeee70a6299782808e5036bdec92ba77df5 Mon Sep 17 00:00:00 2001 From: NebelNidas Date: Sun, 24 Mar 2024 11:58:50 +0100 Subject: [PATCH] Fix code style --- src/main/java/net/fabricmc/tinyremapper/TinyUtils.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/fabricmc/tinyremapper/TinyUtils.java b/src/main/java/net/fabricmc/tinyremapper/TinyUtils.java index e46cdff4..1a940709 100644 --- a/src/main/java/net/fabricmc/tinyremapper/TinyUtils.java +++ b/src/main/java/net/fabricmc/tinyremapper/TinyUtils.java @@ -91,8 +91,10 @@ private static void read(BufferedReader reader, String fromNs, String toNs, Mapp } private static MappingVisitor createAdapter(String fromNs, String toNs, MappingAcceptor out) throws IOException { - return new MappingSourceNsSwitch( // Ensure fromNs is on source and toNs is on destination side - new MappingDstNsReorder( // Remove all dst namespaces we're not interested in + // Ensure fromNs is on source and toNs is on destination side + return new MappingSourceNsSwitch( + // Remove all dst namespaces we're not interested in + new MappingDstNsReorder( new FlatAsRegularMappingVisitor(new MappingAdapter(out)), toNs), fromNs);