Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalyan Prasad Tatavarthi2020-06-26 09:29:35 +0000
committerKalyan Prasad Tatavarthi2020-06-26 10:01:21 +0000
commita7f6bfecee977afc29d52a4534555b12c2c9f5cf (patch)
treed917e753daccb453047778607158fe0d945d3f67
parent9b134d251d42c5818f00fd9897d556eca972ef1e (diff)
downloadeclipse.jdt.core-a7f6bfecee977afc29d52a4534555b12c2c9f5cf.tar.gz
eclipse.jdt.core-a7f6bfecee977afc29d52a4534555b12c2c9f5cf.tar.xz
eclipse.jdt.core-a7f6bfecee977afc29d52a4534555b12c2c9f5cf.zip
Bug 562948 - [14] "record" name for a Record gives error after creation of RecordI20200628-1800I20200626-1800
This change updates the javadoc to point to the new method in the deprecated method Change-Id: I0c93f4067c2a7275bcc41cc7dbcc25faf68bbb15 Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaConventions.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaConventions.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaConventions.java
index 1574fa1b63..58a6dd0768 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaConventions.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaConventions.java
@@ -484,7 +484,7 @@ public final class JavaConventions {
* @see JavaCore#VERSION_1_7
* @see JavaCore#VERSION_1_8
* @see JavaCore#VERSION_9
- * @deprecated
+ * @deprecated Use {@link #validateJavaTypeName(String id, String sourceLevel, String complianceLevel, String previewEnabled)} instead
*/
public static IStatus validateJavaTypeName(String name, String sourceLevel, String complianceLevel) {
return internalValidateJavaTypeName(name, sourceLevel, complianceLevel, null);
@@ -500,7 +500,7 @@ public final class JavaConventions {
* {@link JavaCore} class. The constants are named <code>JavaCore#VERSION_1_x</code>, x being set
* between '1' and '8'.
* </p>
- * <p>The preview flag should be one of <code>JavaCore.ENABLED</code>, <code>JavaCore#DISABLED</code> or null.
+ * <p>The preview flag should be one of {@link JavaCore#ENABLED}, {@link JavaCore#DISABLED} or null.
* When null is passed, the preview is considered to be disabled.
* </p>
*

Back to the top