Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/transitions/TransitionFactory.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | af13ceeba52a |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
22 /** | 22 /** |
23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
24 */ | 24 */ |
25 public class TransitionFactory { | 25 public class TransitionFactory { |
26 | 26 |
27 /** The logger used in this class */ | 27 /** The log used in this class */ |
28 private static Logger logger = Logger.getLogger(TransitionFactory.class); | 28 private static Logger log = Logger.getLogger(TransitionFactory.class); |
29 | 29 |
30 /** The XPath to the classname of the transition */ | 30 /** The XPath to the classname of the transition */ |
31 public static final String XPATH_TRANSITION = "@transition"; | 31 public static final String XPATH_TRANSITION = "@transition"; |
32 | 32 |
33 /** The XPath to the current state ID */ | 33 /** The XPath to the current state ID */ |
62 transition.init(transitionConf); | 62 transition.init(transitionConf); |
63 transition.setFrom(from); | 63 transition.setFrom(from); |
64 transition.setTo(to); | 64 transition.setTo(to); |
65 } | 65 } |
66 catch (InstantiationException ie) { | 66 catch (InstantiationException ie) { |
67 logger.error(ie, ie); | 67 log.error(ie, ie); |
68 } | 68 } |
69 catch (IllegalAccessException iae) { | 69 catch (IllegalAccessException iae) { |
70 logger.error(iae, iae); | 70 log.error(iae, iae); |
71 } | 71 } |
72 catch (ClassNotFoundException cnfe) { | 72 catch (ClassNotFoundException cnfe) { |
73 logger.error(cnfe, cnfe); | 73 log.error(cnfe, cnfe); |
74 } | 74 } |
75 | 75 |
76 return transition; | 76 return transition; |
77 } | 77 } |
78 } | 78 } |