diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-05-29 01:24:07 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-05-29 03:09:39 +0400 |
commit | a44965f6bdee2dcb6b96b7a0cae1ef2a1f8604c9 (patch) | |
tree | 4453364397808b7caad6842e56e63a9c4d9fb0df /sonar-plugin-api | |
parent | 42e6f9118e856f010e4c3bd301f7435ec71d5399 (diff) | |
download | sonarqube-a44965f6bdee2dcb6b96b7a0cae1ef2a1f8604c9.tar.gz sonarqube-a44965f6bdee2dcb6b96b7a0cae1ef2a1f8604c9.zip |
Fix violations
Diffstat (limited to 'sonar-plugin-api')
7 files changed, 8 insertions, 8 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorContext.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorContext.java index 2a737ad13ad..771a1f42ebf 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorContext.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorContext.java @@ -109,7 +109,7 @@ public interface DecoratorContext { * the request parameters specified as a {@link ViolationQuery} * @return the list of violations that match those parameters */ - abstract List<Violation> getViolations(ViolationQuery violationQuery); + List<Violation> getViolations(ViolationQuery violationQuery); /** * Returns all the active (= non switched-off) violations found on the current resource. diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/InstantiationStrategy.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/InstantiationStrategy.java index b270d9ce0d9..308fd4357ac 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/InstantiationStrategy.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/InstantiationStrategy.java @@ -35,12 +35,12 @@ public @interface InstantiationStrategy { /** * Shared extension. Lifecycle is the full analysis. */ - public static final String PER_BATCH = "PER_BATCH"; + String PER_BATCH = "PER_BATCH"; /** * Created and initialized for each project and sub-project (a project is a module in Maven terminology). */ - public static final String PER_PROJECT = "PER_PROJECT"; + String PER_PROJECT = "PER_PROJECT"; String value(); } diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorExecutionHandler.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorExecutionHandler.java index 0db117a37de..74645acf36e 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorExecutionHandler.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorExecutionHandler.java @@ -29,7 +29,7 @@ public interface DecoratorExecutionHandler extends EventHandler { /** * This interface is not intended to be implemented by clients. */ - public interface DecoratorExecutionEvent { + interface DecoratorExecutionEvent { Decorator getDecorator(); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorsPhaseHandler.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorsPhaseHandler.java index c6a218078cb..b6a28d317b5 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorsPhaseHandler.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/DecoratorsPhaseHandler.java @@ -31,7 +31,7 @@ public interface DecoratorsPhaseHandler extends EventHandler { /** * This interface is not intended to be implemented by clients. */ - public interface DecoratorsPhaseEvent { + interface DecoratorsPhaseEvent { /** * @return list of Decorators in the order of execution diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/ProjectAnalysisHandler.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/ProjectAnalysisHandler.java index 110a4b5f475..2e0de22daae 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/ProjectAnalysisHandler.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/ProjectAnalysisHandler.java @@ -29,7 +29,7 @@ public interface ProjectAnalysisHandler extends EventHandler { /** * This interface is not intended to be implemented by clients. */ - public interface ProjectAnalysisEvent { + interface ProjectAnalysisEvent { Project getProject(); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorExecutionHandler.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorExecutionHandler.java index 26d78596d98..7ff0a38dd02 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorExecutionHandler.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorExecutionHandler.java @@ -29,7 +29,7 @@ public interface SensorExecutionHandler extends EventHandler { /** * This interface is not intended to be implemented by clients. */ - public interface SensorExecutionEvent { + interface SensorExecutionEvent { Sensor getSensor(); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorsPhaseHandler.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorsPhaseHandler.java index 8a54de8b442..f368e588992 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorsPhaseHandler.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/events/SensorsPhaseHandler.java @@ -31,7 +31,7 @@ public interface SensorsPhaseHandler extends EventHandler { /** * This interface is not intended to be implemented by clients. */ - public interface SensorsPhaseEvent { + interface SensorsPhaseEvent { /** * @return list of Sensors in the order of execution |