reuse IdeaDecompiler.BANNER

This commit is contained in:
peter
2014-09-12 16:28:17 +02:00
parent 32845f2252
commit e3f8206c2c
2 changed files with 2 additions and 6 deletions
@@ -49,7 +49,7 @@ import java.util.jar.Manifest;
public class IdeaDecompiler extends ClassFileDecompilers.Light {
private static final Logger LOG = Logger.getInstance(IdeaDecompiler.class);
private static final String BANNER =
public static final String BANNER =
"//\n" +
"// Source code recreated from a .class file by IntelliJ IDEA\n" +
"// (powered by Fernflower decompiler)\n" +
@@ -28,11 +28,7 @@ import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase;
import org.jetbrains.annotations.NotNull;
public class IdeaDecompilerTest extends LightCodeInsightFixtureTestCase {
private static final String BANNER =
"//\n" +
"// Source code recreated from a .class file by IntelliJ IDEA\n" +
"// (powered by Fernflower decompiler)\n" +
"//\n\n";
private static final String BANNER = IdeaDecompiler.BANNER;
public void testSimple() {
String path = PlatformTestUtil.getRtJarPath() + "!/java/lang/String.class";