aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-06-13 09:39:07 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-06-13 09:39:07 +0200
commitb1d4a57183de1e2d0fa9793e52c82cb7976f8c7f (patch)
tree6e9e24b395afcb5b5198fbda8d7fc15c540cad44
parenta172605bc139778fb2a18ef4e9dc4a34bb164b41 (diff)
downloadsonarqube-b1d4a57183de1e2d0fa9793e52c82cb7976f8c7f.tar.gz
sonarqube-b1d4a57183de1e2d0fa9793e52c82cb7976f8c7f.zip
Fix 2 links in javadoc of org.sonar.api.batch
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/AbstractCpdMapping.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/NewHighlighting.java2
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);