Skip to content

Turn these classes to public #672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ before_install:
- pip install --user codecov

script:
- ./gradlew clean testDebugUnitTest jacocoTestReport --info
- ./gradlew clean testDebugUnitTest jacocoTestReport

after_success:
- ./gradlew coveralls
Expand Down
2 changes: 1 addition & 1 deletion Parse/src/main/java/com/parse/ParseDecoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
* @see com.parse.ParseEncoder
*/
/** package */ class ParseDecoder {
/** package */ public class ParseDecoder {

// This class isn't really a Singleton, but since it has no state, it's more efficient to get the
// default instance.
Expand Down
2 changes: 1 addition & 1 deletion Parse/src/main/java/com/parse/ParsePlugins.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import okhttp3.Request;
import okhttp3.Response;

class ParsePlugins {
public class ParsePlugins {

private static final String INSTALLATION_ID_LOCATION = "installationId";

Expand Down
2 changes: 1 addition & 1 deletion Parse/src/main/java/com/parse/ParseQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ private static void throwIfLDSEnabled(boolean enabled) {
}
}

/* package */ static class State<T extends ParseObject> {
/* package */ public static class State<T extends ParseObject> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rogerhu Can we remove the `/* package */ lines since they would be irrelevant since the class is public?


/* package */ static class Builder<T extends ParseObject> {

Expand Down
2 changes: 1 addition & 1 deletion Parse/src/main/java/com/parse/ParseRESTCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/**
* A helper object to send requests to the server.
*/
/** package */ class ParseRESTCommand extends ParseRequest<JSONObject> {
/** package */ public class ParseRESTCommand extends ParseRequest<JSONObject> {

/* package */ static final String HEADER_APPLICATION_ID = "X-Parse-Application-Id";
/* package */ static final String HEADER_CLIENT_KEY = "X-Parse-Client-Key";
Expand Down
2 changes: 1 addition & 1 deletion Parse/src/main/java/com/parse/PointerEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Encodes {@link ParseObjects} as pointers. If the object does not have an objectId, throws an
* exception.
*/
/** package */ class PointerEncoder extends PointerOrLocalIdEncoder {
/** package */ 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