Fixed bug 508228: Transparence for the relation between
@SuppressWarnings tokens and compiler options
Change-Id: I616f2215d7aa8d29241157d9bbc627c814cc12aa
Signed-off-by: Noopur Gupta <noopur_gupta@in.ibm.com>
diff --git a/bundles/org.eclipse.jdt.doc.user/reference/preferences/java/compiler/ref-preferences-errors-warnings.htm b/bundles/org.eclipse.jdt.doc.user/reference/preferences/java/compiler/ref-preferences-errors-warnings.htm
index d3f79f4..5db6012 100644
--- a/bundles/org.eclipse.jdt.doc.user/reference/preferences/java/compiler/ref-preferences-errors-warnings.htm
+++ b/bundles/org.eclipse.jdt.doc.user/reference/preferences/java/compiler/ref-preferences-errors-warnings.htm
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
-<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2015. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
+<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2017. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Java Compile Errors/Warnings Preferences</title>
<link rel="stylesheet" href="../../../../book.css" charset="ISO-8859-1" type="text/css">
@@ -768,7 +768,7 @@
</tr>
</table>
-<h3>Annotations</h3>
+<h3 id="annotations">Annotations</h3>
<table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Annotations section">
<tr>
@@ -835,6 +835,7 @@
</td>
<td valign="top">
<p>When enabled, the compiler will process '@SuppressWarnings' annotations. When disabled, it will act as if all '@SuppressWarnings' annotations were removed.</p>
+ <p>See also <a href="../../../../tasks/task-suppress_warnings.htm">Excluding warnings using @SuppressWarnings</a>.</p>
</td>
<td valign="top">
<p>On</p>
@@ -1140,6 +1141,7 @@
<p><img src="../../../../images/ngrelc.png" alt="Related concepts" border="0"></p>
<p><a href="../../../../../org.eclipse.platform.doc.user/concepts/cprbview.htm">Problems View</a><br>
<a href="../../../../concepts/concept-quickfix-assist.htm">Quick Fix</a><br>
-<a href="../../../../concepts/concept-java-builder.htm">Java builder</a></p>
+<a href="../../../../concepts/concept-java-builder.htm">Java builder</a><br>
+<a href="../../../../tasks/task-suppress_warnings.htm">Excluding warnings using @SuppressWarnings</a></p>
</body>
</html>
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 23d6eb9..b8bbfa3 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
@@ -3,7 +3,7 @@
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="copyright" content=
-"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
+"Copyright (c) IBM Corporation and others 2000, 2017. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" />
@@ -54,5 +54,8 @@
<li><span class="token">unqualified-field-access</span> to suppress warnings relative to field access unqualified</li>
<li><span class="token">unused</span> to suppress warnings relative to unused code and dead code</li>
</ul>
+
+<p>See also <a href="../reference/preferences/java/compiler/ref-preferences-errors-warnings.htm#annotations">Java Compile Errors/Warnings Preferences</a>.</p>
+
</body>
</html>