]> source.dussan.org Git - sonarqube.git/commitdiff
Fix some quality flaws
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 23 Apr 2015 07:02:47 +0000 (09:02 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Thu, 23 Apr 2015 07:03:40 +0000 (09:03 +0200)
sonar-batch/src/main/java/org/sonar/batch/deprecated/perspectives/package-info.java [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/phases/Phases.java

diff --git a/sonar-batch/src/main/java/org/sonar/batch/deprecated/perspectives/package-info.java b/sonar-batch/src/main/java/org/sonar/batch/deprecated/perspectives/package-info.java
new file mode 100644 (file)
index 0000000..af3063f
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * SonarQube, open source software quality management tool.
+ * Copyright (C) 2008-2014 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * SonarQube is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * SonarQube is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.batch.deprecated.perspectives;
+
+import javax.annotation.ParametersAreNonnullByDefault;
index 2a2e08056ad64c6129d75b4d3fef1785739c4b5c..979ce8cb413b264dd2262b88181d677e95a33d09 100644 (file)
@@ -29,7 +29,7 @@ import java.util.Set;
  */
 public class Phases {
 
-  public static enum Phase {
+  public enum Phase {
     INIT("Initializers"), SENSOR("Sensors"), DECORATOR("Decorators"), PERSISTER("Persisters"), POSTJOB("Post-Jobs");
 
     private final String label;