Skip to content

Commit ca91d87

Browse files
authored
Make PointerEncoder public for LiveQuery (#859)
1 parent 2708284 commit ca91d87

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

parse/src/main/java/com/parse/ParseEncoder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
import java.util.Map;
2121

2222
/**
23-
* A {@code ParseEncoder} can be used to transform objects such as {@link ParseObjects} into JSON
23+
* A {@code ParseEncoder} can be used to transform objects such as {@link ParseObject}s into JSON
2424
* data structures.
2525
*
2626
* @see com.parse.ParseDecoder
2727
*/
28-
abstract class ParseEncoder {
28+
public abstract class ParseEncoder {
2929

3030
/* package */
3131
static boolean isValidType(Object value) {

parse/src/main/java/com/parse/PointerEncoder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
import org.json.JSONObject;
1212

1313
/**
14-
* Encodes {@link ParseObjects} as pointers. If the object does not have an objectId, throws an
14+
* Encodes {@link ParseObject}s as pointers. If the object does not have an objectId, throws an
1515
* exception.
1616
*/
17-
class PointerEncoder extends PointerOrLocalIdEncoder {
17+
public class PointerEncoder extends PointerOrLocalIdEncoder {
1818

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

parse/src/main/java/com/parse/PointerOrLocalIdEncoder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
import org.json.JSONObject;
1313

1414
/**
15-
* Encodes {@link ParseObjects} as pointers. If the object does not have an objectId, uses a
15+
* Encodes {@link ParseObject}s as pointers. If the object does not have an objectId, uses a
1616
* local id.
1717
*/
18-
class PointerOrLocalIdEncoder extends ParseEncoder {
18+
public class PointerOrLocalIdEncoder extends ParseEncoder {
1919

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

0 commit comments

Comments
 (0)