comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/FacetActivity.java @ 404:4c78c5d2b367

FacetActivity: Made Registry.getInstance() access static. artifacts/trunk@5151 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 29 Jul 2012 09:48:05 +0000
parents bd76529d612b
children e1738650bfca
comparison
equal deleted inserted replaced
403:bd76529d612b 404:4c78c5d2b367
39 39
40 private Registry() { 40 private Registry() {
41 activities = new HashMap<String, FacetActivity>(); 41 activities = new HashMap<String, FacetActivity>();
42 } 42 }
43 43
44 public Registry getInstance() { 44 public static Registry getInstance() {
45 return INSTANCE; 45 return INSTANCE;
46 } 46 }
47 47
48 public synchronized FacetActivity getActivity(String key) { 48 public synchronized FacetActivity getActivity(String key) {
49 FacetActivity activity = activities.get(key); 49 FacetActivity activity = activities.get(key);

http://dive4elements.wald.intevation.org