diff --git a/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsFileImpl.java b/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsFileImpl.java index 1de25cafa001..bedf04e6c3e5 100644 --- a/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsFileImpl.java +++ b/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsFileImpl.java @@ -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 @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(); diff --git a/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsMethodImpl.java b/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsMethodImpl.java index 0f0053e9ea25..0491d84c1789 100644 --- a/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsMethodImpl.java +++ b/java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsMethodImpl.java @@ -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 implem buffer.append(";"); } else { - buffer.append(" { /* "); - buffer.append(PsiBundle.message("psi.decompiled.method.body")); - buffer.append(" */ }"); + buffer.append(" { /* compiled code */ }"); } } diff --git a/platform/platform-resources-en/src/messages/PsiBundle.properties b/platform/platform-resources-en/src/messages/PsiBundle.properties index 473d03ded772..8004efcc5abc 100644 --- a/platform/platform-resources-en/src/messages/PsiBundle.properties +++ b/platform/platform-resources-en/src/messages/PsiBundle.properties @@ -3,7 +3,6 @@ psi.scanning.files.in.folder.progress=Scanning files in {0}... psi.decompiled.text.header=\ // IntelliJ API Decompiler stub source generated from a class file\n\ // Implementation of methods is not available -psi.decompiled.method.body=compiled code psi.error.incorroect.class.template.message=Cannot create {0} - incorrect {1} template. psi.search.inheritors.of.class.progress=Searching for inheritors of {0}... psi.search.inheritors.progress=Searching for inheritors...