mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inline a couple of PsiBundle constants
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -238,7 +238,7 @@ public class ClsFileImpl extends ClsRepositoryPsiElement<PsiClassHolderFileStub>
|
||||
|
||||
@Override
|
||||
public void appendMirrorText(final int indentLevel, final StringBuilder buffer) {
|
||||
buffer.append(PsiBundle.message("psi.decompiled.text.header"));
|
||||
buffer.append("\n // IntelliJ API Decompiler stub source generated from a class file\n // Implementation of methods is not available");
|
||||
goNextLine(indentLevel, buffer);
|
||||
goNextLine(indentLevel, buffer);
|
||||
final PsiPackageStatement packageStatement = getPackageStatement();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -276,9 +276,7 @@ public class ClsMethodImpl extends ClsRepositoryPsiElement<PsiMethodStub> implem
|
||||
buffer.append(";");
|
||||
}
|
||||
else {
|
||||
buffer.append(" { /* ");
|
||||
buffer.append(PsiBundle.message("psi.decompiled.method.body"));
|
||||
buffer.append(" */ }");
|
||||
buffer.append(" { /* compiled code */ }");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user