From 2867a8d41fc0e398de4160b9b4f3b4bebbab9b75 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 20 May 2016 19:41:40 +0200 Subject: [PATCH] Cleanup (formatting; typos) --- .../java/decompiler/main/collectors/ImportCollector.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/org/jetbrains/java/decompiler/main/collectors/ImportCollector.java b/src/org/jetbrains/java/decompiler/main/collectors/ImportCollector.java index b0c311f..eea621b 100644 --- a/src/org/jetbrains/java/decompiler/main/collectors/ImportCollector.java +++ b/src/org/jetbrains/java/decompiler/main/collectors/ImportCollector.java @@ -15,7 +15,6 @@ */ package org.jetbrains.java.decompiler.main.collectors; -import org.jetbrains.java.decompiler.main.ClassesProcessor; import org.jetbrains.java.decompiler.main.ClassesProcessor.ClassNode; import org.jetbrains.java.decompiler.main.DecompilerContext; import org.jetbrains.java.decompiler.main.TextBuffer; @@ -46,13 +45,12 @@ public class ImportCollector { } } - public String getShortName(String fullname) { - return getShortName(fullname, true); + public String getShortName(String fullName) { + return getShortName(fullName, true); } public String getShortName(String fullName, boolean imported) { - ClassesProcessor clProc = DecompilerContext.getClassProcessor(); - ClassNode node = clProc.getMapRootClasses().get(fullName.replace('.', '/')); + ClassNode node = DecompilerContext.getClassProcessor().getMapRootClasses().get(fullName.replace('.', '/')); String result = null; if (node != null && node.classStruct.isOwn()) {