diff --git a/bundles/org.eclipse.jdt.doc.user/tasks/task-suppress_warnings.htm b/bundles/org.eclipse.jdt.doc.user/tasks/task-suppress_warnings.htm
index 90541a7..d1125f1 100644
--- a/bundles/org.eclipse.jdt.doc.user/tasks/task-suppress_warnings.htm
+++ b/bundles/org.eclipse.jdt.doc.user/tasks/task-suppress_warnings.htm
@@ -40,6 +40,7 @@
nls to suppress warnings relative to non-nls string literals
null to suppress warnings relative to null analysis
rawtypes to suppress warnings relative to usage of raw types
+resource to suppress warnings relative to usage of resources of type Closeable
restriction to suppress warnings relative to usage of discouraged or forbidden references
serial to suppress warnings relative to missing serialVersionUID field for a serializable class
diff --git a/bundles/org.eclipse.jdt.doc.user/tasks/task-using_batch_compiler.htm b/bundles/org.eclipse.jdt.doc.user/tasks/task-using_batch_compiler.htm
index a258dad..34e0d96 100644
--- a/bundles/org.eclipse.jdt.doc.user/tasks/task-using_batch_compiler.htm
+++ b/bundles/org.eclipse.jdt.doc.user/tasks/task-using_batch_compiler.htm
@@ -216,7 +216,7 @@
Display advanced warning options |
--warn:... |
+-warn:... |
Specify the set of enabled warnings.
e.g. -warn:unusedLocal,deprecation
@@ -239,6 +239,9 @@
| disable specific warnings |
+In the column Default below, a mark "+/-" indicates that an option covers several fine grained warning variants,
+some of which are enabled by default, others disabled. This means that specifying the given option with "+"
+will enable more warnings than the default, and specifying "-" disables some that are enabled by default.
@@ -247,13 +250,13 @@
Description |
-- |
++/- |
allDeadCode |
dead code including trivial if(DEBUG) check |
-- |
++/- |
allDeprecation |
deprecation even inside deprecated code |
@@ -267,6 +270,11 @@
- |
allOver-ann |
all missing @Override annotations (superclass and superinterfaces) |
+
+
+- |
+all-static-method |
+all method can be declared as static warnings |
+ |
@@ -313,7 +321,7 @@
missing @Deprecated annotation |
-+ |
++/- |
deprecation |
usage of deprecated type or member outside deprecated code |
@@ -373,7 +381,7 @@
missing hashCode() method when overriding equals() |
-- |
++/- |
hiding |
macro for fieldHiding, localHiding, typeHiding and maskedCatchBlock |
@@ -432,7 +440,7 @@
-- |
++/- |
null |
potential missing or redundant null check |
@@ -464,6 +472,12 @@
usage a of raw type (instead of a parameterized type) |
++/- |
+resource |
+(potentially) unsafe usage of resource of type Closeable |
+
+
+
- |
semicolon |
@@ -481,7 +495,7 @@
-- |
++/- |
static-access |
macro for indirectStatic and staticReceiver |
@@ -549,7 +563,7 @@
-- |
++/- |
unused |
macro for unusedAllocation, unusedArgument, unusedImport, unusedLabel, unusedLocal, unusedPrivate, unusedThrown and unusedTypeArgs |
@@ -605,9 +619,9 @@
varargs argument need explicit cast |
-+ |
++/- |
warningToken |
-unhandled warning token in @SuppressWarnings |
+unhandled or unused warning token in @SuppressWarnings |
-nowarn |