comparison gwt-client/src/main/java/org/dive4elements/river/client/server/ArtifactHelper.java @ 8203:238fc722f87a

sed 's/logger/log/g' src/**/*.java
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 13:19:22 +0200
parents eb4d0950ae87
children 519023ce3500
comparison
equal deleted inserted replaced
8202:e4606eae8ea5 8203:238fc722f87a
36 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 36 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
37 */ 37 */
38 public class ArtifactHelper { 38 public class ArtifactHelper {
39 39
40 /** Private logging instance. */ 40 /** Private logging instance. */
41 private static final Logger logger = Logger.getLogger(ArtifactHelper.class); 41 private static final Logger log = Logger.getLogger(ArtifactHelper.class);
42 42
43 43
44 /** The error message key that is thrown if an error occured while artifact 44 /** The error message key that is thrown if an error occured while artifact
45 * creation.*/ 45 * creation.*/
46 public static final String ERROR_CREATE_ARTIFACT = "error_create_artifact"; 46 public static final String ERROR_CREATE_ARTIFACT = "error_create_artifact";
71 String locale, 71 String locale,
72 String factory, 72 String factory,
73 Recommendation recommendation) 73 Recommendation recommendation)
74 throws ServerException 74 throws ServerException
75 { 75 {
76 logger.debug("ArtifactHelper.create"); 76 log.debug("ArtifactHelper.create");
77 77
78 String uuid; 78 String uuid;
79 String ids; 79 String ids;
80 CreationFilter filter; 80 CreationFilter filter;
81 String targetOut; 81 String targetOut;
187 187
188 try { 188 try {
189 return (Artifact) client.create(doc, new FLYSArtifactCreator()); 189 return (Artifact) client.create(doc, new FLYSArtifactCreator());
190 } 190 }
191 catch (ConnectionException ce) { 191 catch (ConnectionException ce) {
192 logger.error(ce, ce); 192 log.error(ce, ce);
193 } 193 }
194 194
195 throw new ServerException(ERROR_CREATE_ARTIFACT); 195 throw new ServerException(ERROR_CREATE_ARTIFACT);
196 } 196 }
197 finally { 197 finally {

http://dive4elements.wald.intevation.org