|
@@ -265,22 +265,6 @@ public class ConfigFile extends TextFile {
|
265
|
265
|
return flatdomains.containsKey(domain);
|
266
|
266
|
}
|
267
|
267
|
|
268
|
|
- /**
|
269
|
|
- * Adds a new flat domain to this config file.
|
270
|
|
- *
|
271
|
|
- * @param name The name of the domain to be added
|
272
|
|
- * @param data The content of the domain
|
273
|
|
- */
|
274
|
|
- public void addDomain(final String name, final Collection<String> data) {
|
275
|
|
- domains.add(name);
|
276
|
|
-
|
277
|
|
- if (flatdomains.containsKey(name)) {
|
278
|
|
- flatdomains.get(name).addAll(data);
|
279
|
|
- } else {
|
280
|
|
- flatdomains.put(name, new ArrayList<>(data));
|
281
|
|
- }
|
282
|
|
- }
|
283
|
|
-
|
284
|
268
|
/**
|
285
|
269
|
* Adds a new key domain to this config file.
|
286
|
270
|
*
|