From b1d4a57183de1e2d0fa9793e52c82cb7976f8c7f Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 13 Jun 2016 09:39:07 +0200 Subject: [PATCH] Fix 2 links in javadoc of org.sonar.api.batch --- .../src/main/java/org/sonar/api/batch/AbstractCpdMapping.java | 2 +- .../sonar/api/batch/sensor/highlighting/NewHighlighting.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/AbstractCpdMapping.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/AbstractCpdMapping.java index 8c6896f1bd3..bce0846cbb1 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/AbstractCpdMapping.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/AbstractCpdMapping.java @@ -26,7 +26,7 @@ import org.sonar.api.resources.Resource; * A pre-implementation of the CpdMapping extension point * * @since 1.10 - * @deprecated since 5.6 use {@link SensorContext#newCpdTokens()} + * @deprecated since 5.6 use {@link org.sonar.api.batch.sensor.SensorContext#newCpdTokens()} */ @Deprecated public abstract class AbstractCpdMapping implements CpdMapping { diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/NewHighlighting.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/NewHighlighting.java index a43f9c179cf..ae3dd8211d6 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/NewHighlighting.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/NewHighlighting.java @@ -50,7 +50,7 @@ public interface NewHighlighting { * @param startOffset Starting position in file for this type of text. Beginning of a file starts with offset '0'. * @param endOffset End position in file for this type of text. * @param typeOfText see {@link TypeOfText} values. - * @deprecated since 5.6 Only supported to ease migration from old API. Please prefer {@link #highlight(int, int, int, int)}. + * @deprecated since 5.6 Only supported to ease migration from old API. Please prefer other {@code highlight()} methods. */ @Deprecated NewHighlighting highlight(int startOffset, int endOffset, TypeOfText typeOfText); -- 2.39.5