equal
deleted
inserted
replaced
398 |
398 |
399 return path.toArray(new String[path.size()]); |
399 return path.toArray(new String[path.size()]); |
400 } |
400 } |
401 |
401 |
402 /** |
402 /** |
403 * Creates a realm name using components from the given postion. |
403 * Creates a realm name using components from the given position. |
404 * For example, subStringFrom({"A", "B", "C"}, 1) is "B.C". |
404 * For example, subStringFrom({"A", "B", "C"}, 1) is "B.C". |
405 */ |
405 */ |
406 private static String subStringFrom(String[] components, int from) { |
406 private static String subStringFrom(String[] components, int from) { |
407 StringBuilder sb = new StringBuilder(); |
407 StringBuilder sb = new StringBuilder(); |
408 for (int i=from; i<components.length; i++) { |
408 for (int i=from; i<components.length; i++) { |