From a597549c4e1fcfb24c91a63b9e0346e23649b31d Mon Sep 17 00:00:00 2001 From: David Syer Date: Tue, 21 Jul 2015 15:33:28 +0100 Subject: [PATCH] DATACMNS-736 - Fixed validation error message in PointFormatter. PointFormatter error message now states it's expecting comma separated values. Previously it erroneously reported expecting a semicolon. Original pull request: #134. --- .../org/springframework/data/geo/format/PointFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/geo/format/PointFormatter.java b/src/main/java/org/springframework/data/geo/format/PointFormatter.java index 959f1f18f..14650fb02 100644 --- a/src/main/java/org/springframework/data/geo/format/PointFormatter.java +++ b/src/main/java/org/springframework/data/geo/format/PointFormatter.java @@ -35,7 +35,7 @@ public enum PointFormatter implements Converter, Formatter public static final ConvertiblePair CONVERTIBLE = new ConvertiblePair(String.class, Point.class); - private static final String INVALID_FORMAT = "Expected two doubles separated by a semicolon but got '%s'!"; + private static final String INVALID_FORMAT = "Expected two doubles separated by a comma but got '%s'!"; /* * (non-Javadoc)