You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fg...@apache.org on 2011/04/21 16:57:06 UTC
svn commit: r1095737 -
/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisQueryWalker.g
Author: fguillaume
Date: Thu Apr 21 14:57:06 2011
New Revision: 1095737
URL: http://svn.apache.org/viewvc?rev=1095737&view=rev
Log:
cleanup: remove tabs
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisQueryWalker.g
Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisQueryWalker.g
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisQueryWalker.g?rev=1095737&r1=1095736&r2=1095737&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisQueryWalker.g (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-support/src/main/antlr3/org/apache/chemistry/opencmis/server/support/query/CmisQueryWalker.g Thu Apr 21 14:57:06 2011
@@ -72,9 +72,9 @@ import org.apache.commons.logging.LogFac
private Tree wherePredicateTree;
public Tree getWherePredicateTree() {
- return wherePredicateTree;
+ return wherePredicateTree;
}
-
+
protected void mismatch(IntStream input, int ttype, BitSet follow)
throws RecognitionException
{
@@ -106,18 +106,18 @@ query [QueryObject qo, PredicateWalkerBa
wherePredicateTree = $where_clause.tree==null ? null : $where_clause.tree.getChild(0);
boolean resolved = queryObj.resolveTypes();
if (null != pw && null != $where_clause.tree)
- pw.walkPredicate(wherePredicateTree);
+ pw.walkPredicate(wherePredicateTree);
}
{
- resolved
+ resolved
}?
;
- catch[FailedPredicateException e]
- {
- // change default text to preserved text which is useful
- e.predicateText = queryObj.getErrorMessage();
- throw e;
- }
+ catch[FailedPredicateException e]
+ {
+ // change default text to preserved text which is useful
+ e.predicateText = queryObj.getErrorMessage();
+ throw e;
+ }
select_list:
STAR
@@ -201,12 +201,12 @@ one_table returns [String alias]:
($alias = queryObj.addType($correlation_name.text, $table_name.text)) != null
}?
;
- catch[FailedPredicateException e]
- {
- // change default text to preserved text which is useful
- e.predicateText = queryObj.getErrorMessage();
- throw e;
- }
+ catch[FailedPredicateException e]
+ {
+ // change default text to preserved text which is useful
+ e.predicateText = queryObj.getErrorMessage();
+ throw e;
+ }
join_kind returns [String kind]:
INNER { $kind = "INNER"; }