@@ -173,7 +173,11 @@ public AutoBuildConfigurationDescription(ICConfigurationDescription cfgDescripti
173
173
myAutoMakeTarget = base .myAutoMakeTarget ;
174
174
myIncrementalMakeTarget = base .myIncrementalMakeTarget ;
175
175
myCleanMakeTarget = base .myCleanMakeTarget ;
176
- myTeamExclusionKeys = base .myTeamExclusionKeys ;
176
+ if ( base .myTeamExclusionKeys ==null ) {
177
+ myTeamExclusionKeys =null ;
178
+ }else {
179
+ myTeamExclusionKeys =new TreeSet <>( base .myTeamExclusionKeys );
180
+ }
177
181
178
182
myPreBuildStep = base .myPreBuildStep ;
179
183
myPreBuildAnnouncement = base .myPreBuildAnnouncement ;
@@ -263,7 +267,7 @@ public AutoBuildConfigurationDescription(ICConfigurationDescription cfgDescripti
263
267
if (teamExclusionKeys .isBlank ()) {
264
268
myTeamExclusionKeys = null ;
265
269
} else {
266
- myTeamExclusionKeys = new HashSet <>(Arrays .asList (teamExclusionKeys .split (SEMICOLON )));
270
+ myTeamExclusionKeys = new TreeSet <>(Arrays .asList (teamExclusionKeys .split (SEMICOLON )));
267
271
}
268
272
269
273
myName = keyValues .getValue (NAME );
@@ -1261,10 +1265,10 @@ public Set<String> getTeamExclusionKeys() {
1261
1265
@ Override
1262
1266
public Set <String > getDefaultTeamExclusionKeys () {
1263
1267
Set <String > ret = new TreeSet <>();
1264
- ret .add (getName () + DOT + KEY_TEAM + DOT + KEY_IS_SHARED );
1265
- ret .add (getName () + DOT + KEY_TEAM + DOT + KEY_EXCLUSIONS );
1268
+ ret .add ( KEY_TEAM + DOT + KEY_IS_SHARED );
1269
+ // ret.add( KEY_TEAM + DOT + KEY_EXCLUSIONS);
1266
1270
if (myAutoBuildCfgExtDes != null ) {
1267
- ret .addAll (myAutoBuildCfgExtDes .getTeamDefaultExclusionKeys (getName () + DOT + KEY_EXTENSION ));
1271
+ ret .addAll (myAutoBuildCfgExtDes .getTeamDefaultExclusionKeys ( KEY_EXTENSION ));
1268
1272
}
1269
1273
return ret ;
1270
1274
}
0 commit comments