diff options
| author | 2015-03-09 12:53:11 -0400 | |
|---|---|---|
| committer | 2015-03-09 12:53:11 -0400 | |
| commit | d6b2a223a7973941e5e4fb45c8ceec4885891496 (patch) | |
| tree | 5728ab513d0b4ed85a720da7eb48c6591dd3f8b0 /src/cuchaz/enigma/convert/MatchesWriter.java | |
| parent | add tracking for mismatched fields/methods (diff) | |
| download | enigma-fork-d6b2a223a7973941e5e4fb45c8ceec4885891496.tar.gz enigma-fork-d6b2a223a7973941e5e4fb45c8ceec4885891496.tar.xz enigma-fork-d6b2a223a7973941e5e4fb45c8ceec4885891496.zip | |
starting on field matching gui
Diffstat (limited to 'src/cuchaz/enigma/convert/MatchesWriter.java')
| -rw-r--r-- | src/cuchaz/enigma/convert/MatchesWriter.java | 6 |
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 | ||
| 10 | public class MatchesWriter { | 10 | public 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(":"); |