inline a couple of PsiBundle constants

This commit is contained in:
Dmitry Jemerov
2012-03-26 17:46:17 +02:00
parent 7a27482206
commit c12d27d017
3 changed files with 4 additions and 7 deletions
@@ -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 */ }");
}
}