Skip to content

Commit f499772

Browse files
committed
Revert commit 16122c8 (SonarQube API)
Issue RSSW-706
1 parent 224e27d commit f499772

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

openedge-plugin/src/main/java/org/sonar/plugins/openedge/OpenEdgePlugin.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.sonar.api.PropertyType;
2424
import org.sonar.api.SonarProduct;
2525
import org.sonar.api.config.PropertyDefinition;
26-
import org.sonar.api.config.PropertyDefinition.ConfigScope;
26+
import org.sonar.api.resources.Qualifiers;
2727
import org.sonar.plugins.openedge.api.Constants;
2828
import org.sonar.plugins.openedge.decorator.CommonDBMetricsDecorator;
2929
import org.sonar.plugins.openedge.decorator.CommonMetricsDecorator;
@@ -84,7 +84,7 @@ public void define(Context context) {
8484
.type(PropertyType.BOOLEAN) //
8585
.category(CATEGORY_OPENEDGE) //
8686
.subCategory(SUBCATEGORY_GENERAL) //
87-
.onConfigScopes(ConfigScope.PROJECT) //
87+
.onQualifiers(Qualifiers.PROJECT) //
8888
.defaultValue(Boolean.FALSE.toString()) //
8989
.build());
9090

@@ -94,7 +94,7 @@ public void define(Context context) {
9494
.type(PropertyType.BOOLEAN) //
9595
.category(CATEGORY_OPENEDGE) //
9696
.subCategory(SUBCATEGORY_GENERAL) //
97-
.onConfigScopes(ConfigScope.PROJECT) //
97+
.onQualifiers(Qualifiers.PROJECT) //
9898
.defaultValue(Boolean.FALSE.toString()) //
9999
.build());
100100

@@ -105,7 +105,7 @@ public void define(Context context) {
105105
.type(PropertyType.BOOLEAN) //
106106
.category(CATEGORY_OPENEDGE) //
107107
.subCategory(SUBCATEGORY_GENERAL) //
108-
.onConfigScopes(ConfigScope.PROJECT) //
108+
.onQualifiers(Qualifiers.PROJECT) //
109109
.defaultValue(Boolean.FALSE.toString()) //
110110
.build());
111111

@@ -116,7 +116,7 @@ public void define(Context context) {
116116
.category(CATEGORY_OPENEDGE) //
117117
.subCategory(SUBCATEGORY_DEBUG) //
118118
.defaultValue(Boolean.FALSE.toString()) //
119-
.onConfigScopes(ConfigScope.PROJECT) //
119+
.onQualifiers(Qualifiers.PROJECT) //
120120
.build());
121121

122122
context.addExtension(PropertyDefinition.builder(Constants.SUFFIXES) //
@@ -126,7 +126,7 @@ public void define(Context context) {
126126
.defaultValue(OpenEdge.DEFAULT_FILE_SUFFIXES) //
127127
.category(CATEGORY_OPENEDGE) //
128128
.subCategory(SUBCATEGORY_GENERAL) //
129-
.onConfigScopes(ConfigScope.PROJECT) //
129+
.onQualifiers(Qualifiers.PROJECT) //
130130
.build());
131131

132132
context.addExtension(PropertyDefinition.builder(Constants.DB_SUFFIXES) //
@@ -136,7 +136,7 @@ public void define(Context context) {
136136
.defaultValue("df") //
137137
.category(CATEGORY_OPENEDGE) //
138138
.subCategory(SUBCATEGORY_GENERAL) //
139-
.onConfigScopes(ConfigScope.PROJECT) //
139+
.onQualifiers(Qualifiers.PROJECT) //
140140
.build());
141141

142142
context.addExtension(PropertyDefinition.builder(Constants.INCLUDE_SUFFIXES) //
@@ -146,7 +146,7 @@ public void define(Context context) {
146146
.defaultValue(OpenEdge.DEFAULT_INCLUDE_FILE_SUFFIXES) //
147147
.category(CATEGORY_OPENEDGE) //
148148
.subCategory(SUBCATEGORY_GENERAL) //
149-
.onConfigScopes(ConfigScope.PROJECT) //
149+
.onQualifiers(Qualifiers.PROJECT) //
150150
.build());
151151

152152
context.addExtension(PropertyDefinition.builder(Constants.CPD_ANNOTATIONS) //
@@ -156,7 +156,7 @@ public void define(Context context) {
156156
.defaultValue("Generated") //
157157
.category(CATEGORY_OPENEDGE) //
158158
.subCategory(SUBCATEGORY_GENERAL) //
159-
.onConfigScopes(ConfigScope.PROJECT) //
159+
.onQualifiers(Qualifiers.PROJECT) //
160160
.build());
161161

162162
context.addExtension(PropertyDefinition.builder(Constants.SKIP_ANNOTATIONS) //
@@ -166,7 +166,7 @@ public void define(Context context) {
166166
.defaultValue("@InitializeComponent") //
167167
.category(CATEGORY_OPENEDGE) //
168168
.subCategory(SUBCATEGORY_GENERAL) //
169-
.onConfigScopes(ConfigScope.PROJECT) //
169+
.onQualifiers(Qualifiers.PROJECT) //
170170
.build());
171171

172172
context.addExtension(PropertyDefinition.builder(Constants.BACKSLASH_ESCAPE) //
@@ -176,7 +176,7 @@ public void define(Context context) {
176176
.defaultValue(Boolean.FALSE.toString()) //
177177
.category(CATEGORY_OPENEDGE) //
178178
.subCategory(SUBCATEGORY_GENERAL) //
179-
.onConfigScopes(ConfigScope.PROJECT) //
179+
.onQualifiers(Qualifiers.PROJECT) //
180180
.build());
181181
}
182182

0 commit comments

Comments
 (0)