diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-08-19 14:17:02 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-08-21 13:54:55 +0200 |
commit | 24cd3f3a91720995ec076ac0073665ba73f27ade (patch) | |
tree | 284814acd0f671257500f0785998f2afe7f32425 /sonar-batch | |
parent | 5f1577e73bb9a1d15c168a07326fc3de95760321 (diff) | |
download | sonarqube-24cd3f3a91720995ec076ac0073665ba73f27ade.tar.gz sonarqube-24cd3f3a91720995ec076ac0073665ba73f27ade.zip |
Remove class deprecated since v4.2
Diffstat (limited to 'sonar-batch')
2 files changed, 0 insertions, 63 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/deprecated/components/DefaultResourceCreationLock.java b/sonar-batch/src/main/java/org/sonar/batch/deprecated/components/DefaultResourceCreationLock.java deleted file mode 100644 index 52ca67c348e..00000000000 --- a/sonar-batch/src/main/java/org/sonar/batch/deprecated/components/DefaultResourceCreationLock.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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. - */ -package org.sonar.batch.deprecated.components; - -import org.sonar.api.batch.ResourceCreationLock; - -/** - * This lock is used to ensure that Sonar resources (files, packages, directories) are not created by buggy plugins - * when saving measures/violations on unknown resources. - * - * @since 2.3 - * @deprecated not used since 4.2 - */ -@Deprecated -public final class DefaultResourceCreationLock implements ResourceCreationLock { - - @Override - public void lock() { - // does nothing since 4.2. Creation of components (ex-resources) is - // the responsibility of core, not plugins - } - -} diff --git a/sonar-batch/src/main/java/org/sonar/batch/deprecated/components/package-info.java b/sonar-batch/src/main/java/org/sonar/batch/deprecated/components/package-info.java deleted file mode 100644 index 65baa1e8409..00000000000 --- a/sonar-batch/src/main/java/org/sonar/batch/deprecated/components/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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.components; - -import javax.annotation.ParametersAreNonnullByDefault; |