Skip to content

Commit 8850e95

Browse files
committed
Merge pull request #133 from ParsePlatform/wangmengyan.Change_ParseHttpBody_fields_to_private
Change ParseHttpBody fields access
2 parents 2c1147c + cf5223a commit 8850e95

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Parse/src/main/java/com/parse/ParseByteArrayHttpBody.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
import java.io.UnsupportedEncodingException;
1818

1919
/** package */ class ParseByteArrayHttpBody extends ParseHttpBody {
20-
protected final byte[] content;
21-
protected final InputStream contentInputStream;
20+
/* package */ final byte[] content;
21+
/* package */ final InputStream contentInputStream;
2222

2323
public ParseByteArrayHttpBody(String content, String contentType)
2424
throws UnsupportedEncodingException {

Parse/src/main/java/com/parse/http/ParseHttpBody.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919
public abstract class ParseHttpBody {
2020

21-
protected final String contentType;
22-
protected final long contentLength;
21+
private final String contentType;
22+
private final long contentLength;
2323

2424
/**
2525
* Returns the content of this body.

0 commit comments

Comments
 (0)