Example #1
0
 private ConfigProperty[] cloneProperties() {
   int count = 0;
   Map<PropertyKey, String> map = configuration.cloneProperties();
   ConfigProperty[] arr = new ConfigProperty[map.size()];
   for (Entry<PropertyKey, String> e : map.entrySet()) {
     arr[count++] = new ConfigProperty(e.getKey(), e.getValue());
   }
   return arr;
 }