95 public boolean isOutputLocation() { return name.endsWith("_OUTPUT"); } |
95 public boolean isOutputLocation() { return name.endsWith("_OUTPUT"); } |
96 }); |
96 }); |
97 return locations.get(name); |
97 return locations.get(name); |
98 } |
98 } |
99 //where |
99 //where |
100 private static ConcurrentMap<String,Location> locations |
100 private static final ConcurrentMap<String,Location> locations |
101 = new ConcurrentHashMap<String,Location>(); |
101 = new ConcurrentHashMap<String,Location>(); |
102 |
102 |
103 public String getName() { return name(); } |
103 public String getName() { return name(); } |
104 |
104 |
105 public boolean isOutputLocation() { |
105 public boolean isOutputLocation() { |