File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Parse/src/main/java/com/parse Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -615,10 +615,11 @@ private static void initializeParseHttpClientsWithParseNetworkInterceptors() {
615
615
* Add a {@link ParseNetworkInterceptor}. You must invoke
616
616
* {@code addParseNetworkInterceptor(ParseNetworkInterceptor)} before
617
617
* {@link #initialize(Context)}. You can add multiple {@link ParseNetworkInterceptor}.
618
+ *
618
619
* @param interceptor
619
620
* {@link ParseNetworkInterceptor} to be added.
620
621
*/
621
- /* package */ static void addParseNetworkInterceptor (ParseNetworkInterceptor interceptor ) {
622
+ public static void addParseNetworkInterceptor (ParseNetworkInterceptor interceptor ) {
622
623
if (isInitialized ()) {
623
624
throw new IllegalStateException ("`Parse#addParseNetworkInterceptor(ParseNetworkInterceptor)`"
624
625
+ " must be invoked before `Parse#initialize(Context)`" );
@@ -632,11 +633,12 @@ private static void initializeParseHttpClientsWithParseNetworkInterceptors() {
632
633
/**
633
634
* Remove a given {@link ParseNetworkInterceptor}. You must invoke
634
635
* {@code removeParseNetworkInterceptor(ParseNetworkInterceptor)} before
635
- * {@link #initialize(Context)} .
636
+ * {@link #initialize(Context)}.
637
+ *
636
638
* @param interceptor
637
639
* {@link ParseNetworkInterceptor} to be removed.
638
640
*/
639
- /* package */ static void removeParseNetworkInterceptor (ParseNetworkInterceptor interceptor ) {
641
+ public static void removeParseNetworkInterceptor (ParseNetworkInterceptor interceptor ) {
640
642
if (isInitialized ()) {
641
643
throw new IllegalStateException ("`Parse#addParseNetworkInterceptor(ParseNetworkInterceptor)`"
642
644
+ " must be invoked before `Parse#initialize(Context)`" );
You can’t perform that action at this time.
0 commit comments