]> source.dussan.org Git - sonarqube.git/commitdiff
Enforce that parameters are non null by default in sonar-duplications
authorEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 16 Feb 2012 08:07:02 +0000 (12:07 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 16 Feb 2012 08:17:32 +0000 (12:17 +0400)
sonar-duplications/src/main/java/org/sonar/duplications/block/package-info.java [new file with mode: 0644]
sonar-duplications/src/main/java/org/sonar/duplications/index/package-info.java [new file with mode: 0644]
sonar-duplications/src/main/java/org/sonar/duplications/statement/package-info.java
sonar-duplications/src/main/java/org/sonar/duplications/token/package-info.java

diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/block/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/block/package-info.java
new file mode 100644 (file)
index 0000000..d35ba05
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2008-2012 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar 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.
+ *
+ * Sonar 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 Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.block;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/index/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/index/package-info.java
new file mode 100644 (file)
index 0000000..6455e11
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2008-2012 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * Sonar 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.
+ *
+ * Sonar 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 Sonar; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
+ */
+
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.index;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
index 4dffcdd92f616a8cb3586d4a65ad272f5b1350cc..a1d238d6ec91f557b350d7e4ce3a4016c35440b2 100644 (file)
 
 /**
  * Provides a basic framework to create list of statements from list of tokens.
- * 
+ *
  * The entry point of this framework is the {@link org.sonar.duplications.statement.StatementChunker} class.
  */
+@ParametersAreNonnullByDefault
 package org.sonar.duplications.statement;
 
+import javax.annotation.ParametersAreNonnullByDefault;
+
index a6e14c523459974cc1d0bd292a61839ff8269ff2..d540bfc37f00eceac79ce99fe15c09ce05d9877f 100644 (file)
 
 /**
  * Provides a basic framework to sequentially read any kind of character stream and create list of tokens.
- * 
+ *
  * The entry point of this framework is the {@link org.sonar.duplications.token.TokenChunker} class.
  */
+@ParametersAreNonnullByDefault
 package org.sonar.duplications.token;
 
+import javax.annotation.ParametersAreNonnullByDefault;
+