[Dive4elements-commits] [PATCH] Fixed wrong quote

Wald Commits scm-commit at wald.intevation.org
Mon May 13 18:16:44 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1368461800 -7200
# Node ID db1bb9d44722ef3d9d1682b7fd5145211b77791e
# Parent  6ea171b6d8d2f1cddccc710a1e58d9a8a698caf6
Fixed wrong quote.

diff -r 6ea171b6d8d2 -r db1bb9d44722 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationRecord.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationRecord.java	Mon May 13 17:48:32 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationRecord.java	Mon May 13 18:16:40 2013 +0200
@@ -31,7 +31,7 @@
 
         Integer number = station.getID();
         String stationName = station.getName();
-        String stationIdent = stationName.replaceAll("\W", "");
+        String stationIdent = stationName.replaceAll("\\W", "");
         String stationType = station.getMeasurementType();
         String link = MSG.measurement_station_url() + 
             stationIdent + stationType;


More information about the Dive4elements-commits mailing list