summaryrefslogtreecommitdiff
path: root/src/cuchaz/enigma/convert/MatchesWriter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuchaz/enigma/convert/MatchesWriter.java')
-rw-r--r--src/cuchaz/enigma/convert/MatchesWriter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cuchaz/enigma/convert/MatchesWriter.java b/src/cuchaz/enigma/convert/MatchesWriter.java
index 49ffb6d..6658e2a 100644
--- a/src/cuchaz/enigma/convert/MatchesWriter.java
+++ b/src/cuchaz/enigma/convert/MatchesWriter.java
@@ -9,16 +9,16 @@ import cuchaz.enigma.mapping.ClassEntry;
9 9
10public class MatchesWriter { 10public class MatchesWriter {
11 11
12 public static void write(Matches matches, File file) 12 public static void writeClasses(ClassMatches matches, File file)
13 throws IOException { 13 throws IOException {
14 try (FileWriter out = new FileWriter(file)) { 14 try (FileWriter out = new FileWriter(file)) {
15 for (ClassMatch match : matches) { 15 for (ClassMatch match : matches) {
16 writeMatch(out, match); 16 writeClassMatch(out, match);
17 } 17 }
18 } 18 }
19 } 19 }
20 20
21 private static void writeMatch(FileWriter out, ClassMatch match) 21 private static void writeClassMatch(FileWriter out, ClassMatch match)
22 throws IOException { 22 throws IOException {
23 writeClasses(out, match.sourceClasses); 23 writeClasses(out, match.sourceClasses);
24 out.write(":"); 24 out.write(":");