diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-07 18:13:19 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-07 18:13:19 +0200 |
commit | 0f476a79eb6f8eec7cc439e8e4a792eee1beeb5d (patch) | |
tree | 471d5a4613e5ddaa86273b41c34b2020d9c2d9b3 /sonar-core | |
parent | df4635017e51bd32a756e2326c0d7a0bdfeef78a (diff) | |
download | sonarqube-0f476a79eb6f8eec7cc439e8e4a792eee1beeb5d.tar.gz sonarqube-0f476a79eb6f8eec7cc439e8e4a792eee1beeb5d.zip |
Fix quality flaws
Diffstat (limited to 'sonar-core')
4 files changed, 82 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/workflow/package-info.java b/sonar-core/src/main/java/org/sonar/core/issue/workflow/package-info.java new file mode 100644 index 00000000000..2d51c65fac8 --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/issue/workflow/package-info.java @@ -0,0 +1,26 @@ +/* + * 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. + */ +/** + * Deprecated in 4.5.1. JFreechart charts are replaced by Javascript charts. + */ +@ParametersAreNonnullByDefault +package org.sonar.core.issue.workflow; + +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/notification/package-info.java b/sonar-core/src/main/java/org/sonar/core/notification/package-info.java new file mode 100644 index 00000000000..de0f088a8f3 --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/notification/package-info.java @@ -0,0 +1,26 @@ +/* + * 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. + */ +/** + * Deprecated in 4.5.1. JFreechart charts are replaced by Javascript charts. + */ +@ParametersAreNonnullByDefault +package org.sonar.core.notification; + +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java b/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java index 50e7a54790a..44d9f80968d 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java @@ -155,8 +155,11 @@ public class DefaultDatabase implements Database { return properties; } + /** + * Override this method to add JDBC properties at runtime + */ protected void doCompleteProperties(Properties properties) { - // nothing + // open-close principle } private static void completeProperties(Settings settings, Properties properties, String prefix) { diff --git a/sonar-core/src/main/java/org/sonar/core/plugins/package-info.java b/sonar-core/src/main/java/org/sonar/core/plugins/package-info.java new file mode 100644 index 00000000000..d3208e7de69 --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/plugins/package-info.java @@ -0,0 +1,26 @@ +/* + * 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. + */ +/** + * Deprecated in 4.5.1. JFreechart charts are replaced by Javascript charts. + */ +@ParametersAreNonnullByDefault +package org.sonar.core.plugins; + +import javax.annotation.ParametersAreNonnullByDefault; |