diff options
author | Manoj Palat | 2020-06-23 01:33:57 +0000 |
---|---|---|
committer | Manoj Palat | 2020-06-23 01:33:57 +0000 |
commit | c9d270a5cf1ccb4696f2529302bb3eb09ddd90c2 (patch) | |
tree | f657c560669bac4c0b612e86b0b143c07813566e /org.eclipse.jdt.core/compiler/org/eclipse/jdt | |
parent | fe860ad50bfd5103e0c6159d156ae80b61c653f2 (diff) | |
download | eclipse.jdt.core-c9d270a5cf1ccb4696f2529302bb3eb09ddd90c2.tar.gz eclipse.jdt.core-c9d270a5cf1ccb4696f2529302bb3eb09ddd90c2.tar.xz eclipse.jdt.core-c9d270a5cf1ccb4696f2529302bb3eb09ddd90c2.zip |
residual noise removal
Change-Id: I9a3cbd2cdab96b3a521097d59fe72aafb9bf78b1
Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt')
2 files changed, 0 insertions, 4 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java index c4ba690afe..501dfea36c 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java @@ -155,9 +155,6 @@ private void checkAndSetModifiersForConstructor(MethodBinding methodBinding) { } else if ((((AbstractMethodDeclaration) this.referenceContext).modifiers & ClassFileConstants.AccStrictfp) != 0) { // must check the parse node explicitly problemReporter().illegalModifierForMethod((AbstractMethodDeclaration) this.referenceContext); - } else if (this.referenceContext instanceof CompactConstructorDeclaration) { -// if (!SourceTypeBinding.isAtleastAsAccessibleAsRecord(methodBinding)) -// problemReporter().recordCanonicalConstructorVisibilityReduced((AbstractMethodDeclaration) this.referenceContext); } // check for incompatible modifiers in the visibility bits, isolate the visibility bits diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties index cb529bdf17..84c908b7b2 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties @@ -1035,7 +1035,6 @@ 1734 = Throws clause not allowed for explicitly declared accessor method 1735 = Throws clause not allowed for canonical constructor {0} 1736 = Cannot reduce the visibility of a canonical constructor {0} from that of the record -# The canonical constructor {0} of a record declaration must be declared public. 1737 = Multiple canonical constructors {0} are not allowed 1738 = The body of a compact constructor must not contain a return statement 1739 = Duplicate component {0} in record |