summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java
index 7b0fa721d62..84d2d34ce77 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java
@@ -191,9 +191,8 @@ public class File extends Resource {
/**
* Sets the language of the file
*/
- public File setLanguage(Language language) {
+ public void setLanguage(Language language) {
this.language = language;
- return this;
}
/**