chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1370035 - /chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/query/InMemoryQueryProcessor.java
Date Mon, 06 Aug 2012 21:56:48 GMT
Author: jens
Date: Mon Aug  6 21:56:47 2012
New Revision: 1370035

URL: http://svn.apache.org/viewvc?rev=1370035&view=rev
Log:
InMemory bug fixes: text search, add hyphen character as requires escaping

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/query/InMemoryQueryProcessor.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/query/InMemoryQueryProcessor.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/query/InMemoryQueryProcessor.java?rev=1370035&r1=1370034&r2=1370035&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/query/InMemoryQueryProcessor.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/query/InMemoryQueryProcessor.java
Mon Aug  6 21:56:47 2012
@@ -605,7 +605,7 @@ public class InMemoryQueryProcessor {
         
         private boolean findText(String nodeText) {
             Content cont = (Content)so;
-            String pattern = StringUtil.unescape(nodeText, null);
+            String pattern = StringUtil.unescape(nodeText, "\\'-");
             if (null == pattern)
             	throw new CmisInvalidArgumentException("Illegal Escape sequence in text search
expression " + nodeText);
             



Mime
View raw message