thiagolocatelli / parse4j

Java Library to deal with Parse (parse.com) REST API
http://thiagolocatelli.github.io/parse4j
143 stars 117 forks source link

fixing https://github.com/thiagolocatelli/parse4j/issues/26 #27

Closed nickolayrusev closed 9 years ago

nickolayrusev commented 9 years ago

Hello man, i fixed the "whereMatchesQuery" Parse method. I made two changes:

  1. I changed the visibility to the method toRest() to public in ParseQuery.java
  2. In ParseEncoder.java I'm checking if argument type is of type ParseQuery

I also made a test case.

Please review the changes. Thanks in advance