summaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-01-31 01:11:24 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-01-31 01:13:14 +0100
commit4daa310730284a784548d8b7857a530ff24cc702 (patch)
tree58f28a4a67f76fdba537d7facf4dc19a33ff5104 /sonar-server/src
parentcffdb0bdd4c32f5eec12d44a551b73c8fabb6b37 (diff)
downloadsonarqube-4daa310730284a784548d8b7857a530ff24cc702.tar.gz
sonarqube-4daa310730284a784548d8b7857a530ff24cc702.zip
Add profile to check copyright headers + fix some badly formatted headers
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/test/java/org/sonar/server/plugins/BatchResourcesServletTest.java19
-rw-r--r--sonar-server/src/test/java/org/sonar/server/plugins/StaticResourcesServletTest.java19
-rw-r--r--sonar-server/src/test/java/org/sonar/server/ui/FakePage.java19
-rw-r--r--sonar-server/src/test/java/org/sonar/server/ui/FakeResourceViewer.java19
-rw-r--r--sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java19
5 files changed, 95 insertions, 0 deletions
diff --git a/sonar-server/src/test/java/org/sonar/server/plugins/BatchResourcesServletTest.java b/sonar-server/src/test/java/org/sonar/server/plugins/BatchResourcesServletTest.java
index 3dadef9567f..d5bf6699540 100644
--- a/sonar-server/src/test/java/org/sonar/server/plugins/BatchResourcesServletTest.java
+++ b/sonar-server/src/test/java/org/sonar/server/plugins/BatchResourcesServletTest.java
@@ -1,3 +1,22 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * 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
+ */
package org.sonar.server.plugins;
import com.google.common.collect.Sets;
diff --git a/sonar-server/src/test/java/org/sonar/server/plugins/StaticResourcesServletTest.java b/sonar-server/src/test/java/org/sonar/server/plugins/StaticResourcesServletTest.java
index 367235398f0..3dc4bf884c5 100644
--- a/sonar-server/src/test/java/org/sonar/server/plugins/StaticResourcesServletTest.java
+++ b/sonar-server/src/test/java/org/sonar/server/plugins/StaticResourcesServletTest.java
@@ -1,3 +1,22 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * 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
+ */
package org.sonar.server.plugins;
import org.junit.Before;
diff --git a/sonar-server/src/test/java/org/sonar/server/ui/FakePage.java b/sonar-server/src/test/java/org/sonar/server/ui/FakePage.java
index 83b00744e39..dbdf030aad9 100644
--- a/sonar-server/src/test/java/org/sonar/server/ui/FakePage.java
+++ b/sonar-server/src/test/java/org/sonar/server/ui/FakePage.java
@@ -1,3 +1,22 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * 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
+ */
package org.sonar.server.ui;
import org.sonar.api.web.NavigationSection;
diff --git a/sonar-server/src/test/java/org/sonar/server/ui/FakeResourceViewer.java b/sonar-server/src/test/java/org/sonar/server/ui/FakeResourceViewer.java
index d471c6160c0..a61d7c5168d 100644
--- a/sonar-server/src/test/java/org/sonar/server/ui/FakeResourceViewer.java
+++ b/sonar-server/src/test/java/org/sonar/server/ui/FakeResourceViewer.java
@@ -1,3 +1,22 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * 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
+ */
package org.sonar.server.ui;
import org.sonar.api.web.NavigationSection;
diff --git a/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java b/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java
index 1c0de5ca459..04b1172e27b 100644
--- a/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java
+++ b/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java
@@ -1,3 +1,22 @@
+/*
+ * Sonar, open source software quality management tool.
+ * Copyright (C) 2009 SonarSource SA
+ * 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
+ */
package org.sonar.server.ui;
import org.sonar.api.web.Widget;