diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-11-17 09:38:01 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-11-17 17:59:43 +0100 |
commit | ba3c13b388823a69e5821aa5d3006e3b1cc01923 (patch) | |
tree | a8b7babd9515f9c722efc9098f9a4bf6a663b975 /sonar-core/src | |
parent | ea69b9b5dba17f416447fc152d6b9f291c04a59e (diff) | |
download | sonarqube-ba3c13b388823a69e5821aa5d3006e3b1cc01923.tar.gz sonarqube-ba3c13b388823a69e5821aa5d3006e3b1cc01923.zip |
SONAR-8151 remove property category Organizations from UI for 6.2
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java | 21 | ||||
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java | 2 |
2 files changed, 13 insertions, 10 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java index 32e595df780..03a10b6e8c8 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java +++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java @@ -292,15 +292,18 @@ public class CorePropertyDefinitions { .category(CoreProperties.CATEGORY_EXCLUSIONS) .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS_EXCLUSIONS) .multiValues(true) - .build(), - - // ORGANIZATIONS - PropertyDefinition.builder(ORGANIZATIONS_ANYONE_CAN_CREATE) - .name("Allow any authenticated user to create organizations") - .defaultValue(Boolean.toString(false)) - .category(CATEGORY_ORGANIZATIONS) - .type(PropertyType.BOOLEAN) - .build())); + .build() +// FIXME remove organization property category from UI for release 6.2 +// , +// +// // ORGANIZATIONS +// PropertyDefinition.builder(ORGANIZATIONS_ANYONE_CAN_CREATE) +// .name("Allow any authenticated user to create organizations") +// .defaultValue(Boolean.toString(false)) +// .category(CATEGORY_ORGANIZATIONS) +// .type(PropertyType.BOOLEAN) +// .build() + )); return defs; } } diff --git a/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java b/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java index 470cc2f2ed8..bf9d2501497 100644 --- a/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java +++ b/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java @@ -35,7 +35,7 @@ public class CorePropertyDefinitionsTest { @Test public void all() { List<PropertyDefinition> defs = CorePropertyDefinitions.all(); - assertThat(defs).hasSize(65); + assertThat(defs).hasSize(64); } @Test |