Skip to content

Commit

Permalink
Make PointerEncoder public for LiveQuery (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo authored Jul 23, 2018
1 parent 2708284 commit ca91d87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions parse/src/main/java/com/parse/ParseEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
import java.util.Map;

/**
* A {@code ParseEncoder} can be used to transform objects such as {@link ParseObjects} into JSON
* A {@code ParseEncoder} can be used to transform objects such as {@link ParseObject}s into JSON
* data structures.
*
* @see com.parse.ParseDecoder
*/
abstract class ParseEncoder {
public abstract class ParseEncoder {

/* package */
static boolean isValidType(Object value) {
Expand Down
4 changes: 2 additions & 2 deletions parse/src/main/java/com/parse/PointerEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
import org.json.JSONObject;

/**
* Encodes {@link ParseObjects} as pointers. If the object does not have an objectId, throws an
* Encodes {@link ParseObject}s as pointers. If the object does not have an objectId, throws an
* exception.
*/
class PointerEncoder extends PointerOrLocalIdEncoder {
public class PointerEncoder extends PointerOrLocalIdEncoder {

// This class isn't really a Singleton, but since it has no state, it's more efficient to get the
// default instance.
Expand Down
4 changes: 2 additions & 2 deletions parse/src/main/java/com/parse/PointerOrLocalIdEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
import org.json.JSONObject;

/**
* Encodes {@link ParseObjects} as pointers. If the object does not have an objectId, uses a
* Encodes {@link ParseObject}s as pointers. If the object does not have an objectId, uses a
* local id.
*/
class PointerOrLocalIdEncoder extends ParseEncoder {
public class PointerOrLocalIdEncoder extends ParseEncoder {

// This class isn't really a Singleton, but since it has no state, it's more efficient to get the
// default instance.
Expand Down

0 comments on commit ca91d87

Please sign in to comment.