You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by Kasper Sørensen <i....@gmail.com> on 2014/09/28 19:46:23 UTC

Review Request 26128: Fix for METAMODEL-76:

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26128/
-----------------------------------------------------------

Review request for MetaModel.


Bugs: METAMODEL-76
    https://issues.apache.org/jira/browse/METAMODEL-76


Repository: metamodel


Description
-------

Issue was: Query parser doesn't properly process WHERE items without spaces around '=' char.

Fixed it - primarily in classes Query and OperatorType - by adding a boolean that indicates if space delimitation should be applied to the operator while parsing.


Diffs
-----

  core/src/main/java/org/apache/metamodel/query/FilterItem.java 4a6d0af 
  core/src/main/java/org/apache/metamodel/query/OperatorType.java a2d68b9 
  core/src/main/java/org/apache/metamodel/query/Query.java 1b0f6d3 
  core/src/test/java/org/apache/metamodel/QueryPostprocessDataContextTest.java 0949e1e 
  mongodb/src/main/java/org/apache/metamodel/mongodb/MongoDbDataContext.java 9da4ecf 

Diff: https://reviews.apache.org/r/26128/diff/


Testing
-------

Yes, as per the issue in JIRA. Other modules retrofitted to work too.


Thanks,

Kasper Sørensen