Skip to content

Commit 1bbb5ff

Browse files
committed
Merge pull request android-async-http#383 from orientalsensation/RequestParams
Classes are declared private even though they're exposed as non-private.
2 parents 30607d4 + ebdab84 commit 1bbb5ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/main/java/com/loopj/android/http/RequestParams.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ protected String getParamString() {
427427
return URLEncodedUtils.format(getParamsList(), HTTP.UTF_8);
428428
}
429429

430-
private static class FileWrapper {
430+
public static class FileWrapper {
431431
public File file;
432432
public String contentType;
433433

@@ -437,7 +437,7 @@ public FileWrapper(File file, String contentType) {
437437
}
438438
}
439439

440-
private static class StreamWrapper {
440+
public static class StreamWrapper {
441441
public InputStream inputStream;
442442
public String name;
443443
public String contentType;

0 commit comments

Comments
 (0)