diff options
| author | 2015-02-23 23:29:22 -0500 | |
|---|---|---|
| committer | 2015-02-23 23:29:22 -0500 | |
| commit | 2dc7428e37bdd7a119f53d02ce157675509b0d63 (patch) | |
| tree | 68f409ac726166e427eea3a199eb462130c53ccd /src/cuchaz/enigma/mapping/MappingsWriter.java | |
| parent | make types serializable (diff) | |
| download | enigma-fork-2dc7428e37bdd7a119f53d02ce157675509b0d63.tar.gz enigma-fork-2dc7428e37bdd7a119f53d02ce157675509b0d63.tar.xz enigma-fork-2dc7428e37bdd7a119f53d02ce157675509b0d63.zip | |
lots of work in better handling of inner classes
also working on recognizing unobfuscated and deobfuscated jars
(needed for M3L)
Diffstat (limited to 'src/cuchaz/enigma/mapping/MappingsWriter.java')
| -rw-r--r-- | src/cuchaz/enigma/mapping/MappingsWriter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuchaz/enigma/mapping/MappingsWriter.java b/src/cuchaz/enigma/mapping/MappingsWriter.java index c7c2cc0..8b62db8 100644 --- a/src/cuchaz/enigma/mapping/MappingsWriter.java +++ b/src/cuchaz/enigma/mapping/MappingsWriter.java | |||
| @@ -31,9 +31,9 @@ public class MappingsWriter { | |||
| 31 | 31 | ||
| 32 | private void write(PrintWriter out, ClassMapping classMapping, int depth) throws IOException { | 32 | private void write(PrintWriter out, ClassMapping classMapping, int depth) throws IOException { |
| 33 | if (classMapping.getDeobfName() == null) { | 33 | if (classMapping.getDeobfName() == null) { |
| 34 | out.format("%sCLASS %s\n", getIndent(depth), classMapping.getObfName()); | 34 | out.format("%sCLASS %s\n", getIndent(depth), classMapping.getObfFullName()); |
| 35 | } else { | 35 | } else { |
| 36 | out.format("%sCLASS %s %s\n", getIndent(depth), classMapping.getObfName(), classMapping.getDeobfName()); | 36 | out.format("%sCLASS %s %s\n", getIndent(depth), classMapping.getObfFullName(), classMapping.getDeobfName()); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | for (ClassMapping innerClassMapping : sorted(classMapping.innerClasses())) { | 39 | for (ClassMapping innerClassMapping : sorted(classMapping.innerClasses())) { |