Bug 508745: grammar fix in ecj -help
- includes polish for newly added option
Change-Id: Idb8e0099b868598b30e152bc5d0c95575f3d42b3
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java
index ea86675..da97cde 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java
@@ -861,7 +861,7 @@
" staticReceiver + non-static reference to static member\n" +
" super overriding a method without making a super invocation\n" +
" suppress + enable @SuppressWarnings\n" +
- " When used with -err:, it can also silent optional\n" +
+ " When used with -err:, it can also silence optional\n" +
" errors and warnings\n" +
" switchDefault switch statement lacking a default case\n" +
" syncOverride missing synchronized in synchr. method override\n" +
@@ -872,9 +872,10 @@
" unavoidableGenericProblems + ignore unavoidable type safety problems\n" +
" due to raw APIs\n" +
" unchecked + unchecked type operation\n" +
- " unlikelyCollectionMethodArgumentType unlikely argument type for collection\n" +
- " methods using Object\n" +
- " unlikelyEqualsArgumentType unlikely argument type for equals()\n" +
+ " unlikelyCollectionMethodArgumentType\n" +
+ " + unlikely argument type for collection method\n" +
+ " declaring an Object parameter\n" +
+ " unlikelyEqualsArgumentType unlikely argument type for method equals()\n" +
" unnecessaryElse unnecessary else clause\n" +
" unqualifiedField unqualified reference to field\n" +
" unused macro for unusedAllocation, unusedArgument,\n" +
diff --git a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties
index 5f2f54f..6c6f265 100644
--- a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties
+++ b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties
@@ -401,7 +401,7 @@
\ staticReceiver + non-static reference to static member\n\
\ super overriding a method without making a super invocation\n\
\ suppress + enable @SuppressWarnings\n\
-\ When used with -err:, it can also silent optional\n\
+\ When used with -err:, it can also silence optional\n\
\ errors and warnings\n\
\ switchDefault switch statement lacking a default case\n\
\ syncOverride missing synchronized in synchr. method override\n\
@@ -412,9 +412,10 @@
\ unavoidableGenericProblems + ignore unavoidable type safety problems\n\
\ due to raw APIs\n\
\ unchecked + unchecked type operation\n\
-\ unlikelyCollectionMethodArgumentType unlikely argument type for collection\n\
-\ methods using 'Object'\n\
-\ unlikelyEqualsArgumentType unlikely argument type for equals()\n\
+\ unlikelyCollectionMethodArgumentType\n\
+\ + unlikely argument type for collection method\n\
+\ declaring an Object parameter\n\
+\ unlikelyEqualsArgumentType unlikely argument type for method equals()\n\
\ unnecessaryElse unnecessary else clause\n\
\ unqualifiedField unqualified reference to field\n\
\ unused macro for unusedAllocation, unusedArgument,\n\