jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1082611 - /jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/JcrParser.java
Date Thu, 17 Mar 2011 17:56:38 GMT
Author: stefan
Date: Thu Mar 17 17:56:38 2011
New Revision: 1082611

URL: http://svn.apache.org/viewvc?rev=1082611&view=rev
Log:
JCR-2922: JcrParser: use of bitwise instead of logical AND operator

Modified:
    jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/JcrParser.java

Modified: jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/JcrParser.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/JcrParser.java?rev=1082611&r1=1082610&r2=1082611&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/JcrParser.java
(original)
+++ jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/JcrParser.java
Thu Mar 17 17:56:38 2011
@@ -131,7 +131,7 @@ public class JcrParser {
             char c = input.charAt(i);
 
             // end of argument?
-            if ((!insideSingleQuote & !insideDoubleQuote & Character
+            if ((!insideSingleQuote && !insideDoubleQuote && Character
                 .isWhitespace(c))) {
                 if (arg.toString().trim().length() > 0) {
                     args.add(arg.toString().trim());



Mime
View raw message