aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-11-03 11:07:31 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2014-11-03 11:55:30 +0100
commit89eede7717dd056d314a214afb64a17be98fbc0e (patch)
tree3c9ed05a9749ea9a9557a2bb9a88b988f6ab26b1 /sonar-plugin-api
parent19a6905ce6c877f1497b2ce47b7aeb478591b036 (diff)
downloadsonarqube-89eede7717dd056d314a214afb64a17be98fbc0e.tar.gz
sonarqube-89eede7717dd056d314a214afb64a17be98fbc0e.zip
SONAR-5815 Store last update time on source data
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java13
1 files changed, 1 insertions, 12 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java
index 1fdb243b393..b03cc779119 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/SonarIndex.java
@@ -94,19 +94,8 @@ public abstract class SonarIndex implements DirectedGraphAccessor<Resource, Depe
public abstract Collection<Resource> getChildren(Resource reference);
/**
- * Save the source code of a file. The file must be have been indexed before.
- * Note: the source stream is not closed.
- *
- * @throws org.sonar.api.resources.DuplicatedSourceException
- * if the source has already been set on this resource
- * @deprecated since 4.2 should not be used by plugins
- */
- @Deprecated
- public abstract void setSource(Resource reference, String source);
-
- /**
* @return source code associated with a specified resource, <code>null</code> if not available
- * (for example when sonar.importSources=false)
+ * (for example if resource is not a file)
* @since 2.9
*/
@CheckForNull