From 89eede7717dd056d314a214afb64a17be98fbc0e Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 3 Nov 2014 11:07:31 +0100 Subject: SONAR-5815 Store last update time on source data --- .../src/main/java/org/sonar/api/batch/SonarIndex.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sonar-plugin-api') 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 @@ -93,20 +93,9 @@ public abstract class SonarIndex implements DirectedGraphAccessor 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, null if not available - * (for example when sonar.importSources=false) + * (for example if resource is not a file) * @since 2.9 */ @CheckForNull -- cgit v1.2.3