incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1128501 - /incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
Date Fri, 27 May 2011 22:52:12 GMT
Author: mbenson
Date: Fri May 27 22:52:12 2011
New Revision: 1128501

URL: http://svn.apache.org/viewvc?rev=1128501&view=rev
Log:
path navigation bug

Modified:
    incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java?rev=1128501&r1=1128500&r2=1128501&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
Fri May 27 22:52:12 2011
@@ -216,6 +216,7 @@ public class PathNavigation {
                 int here = pos.getIndex();
                 // look for matching quote
                 if (path.charAt(here) == quote) {
+                    pos.next();
                     return w.toString();
                 }
                 int codePoints = StringEscapeUtils.UNESCAPE_JAVA.translate(path, here, w);



Mime
View raw message