mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
reuse IdeaDecompiler.BANNER
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user