comparison artifacts/src/main/java/org/dive4elements/river/exports/AbstractExporter.java @ 7936:5ef60ed15c25

So you do not need to type every string twice.
author Tom Gottfried <tom@intevation.de>
date Tue, 17 Jun 2014 17:50:59 +0200
parents 3c7471b929d1
children a310b1f85ce0
comparison
equal deleted inserted replaced
7935:6f8f13d829e5 7936:5ef60ed15c25
261 protected String getFacetFromRequest() { 261 protected String getFacetFromRequest() {
262 return XMLUtils.xpathString( 262 return XMLUtils.xpathString(
263 request, XPATH_FACET, ArtifactNamespaceContext.INSTANCE); 263 request, XPATH_FACET, ArtifactNamespaceContext.INSTANCE);
264 } 264 }
265 265
266 protected String msg(String key) {
267 return Resources.getMsg(context.getMeta(), key, key);
268 }
266 269
267 protected String msg(String key, String def) { 270 protected String msg(String key, String def) {
268 return Resources.getMsg(context.getMeta(), key, def); 271 return Resources.getMsg(context.getMeta(), key, def);
269 } 272 }
270 273

http://dive4elements.wald.intevation.org