From d6b2a223a7973941e5e4fb45c8ceec4885891496 Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 9 Mar 2015 12:53:11 -0400 Subject: starting on field matching gui --- src/cuchaz/enigma/convert/MatchesWriter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cuchaz/enigma/convert/MatchesWriter.java') 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; public class MatchesWriter { - public static void write(Matches matches, File file) + public static void writeClasses(ClassMatches matches, File file) throws IOException { try (FileWriter out = new FileWriter(file)) { for (ClassMatch match : matches) { - writeMatch(out, match); + writeClassMatch(out, match); } } } - private static void writeMatch(FileWriter out, ClassMatch match) + private static void writeClassMatch(FileWriter out, ClassMatch match) throws IOException { writeClasses(out, match.sourceClasses); out.write(":"); -- cgit v1.2.3