-
Notifications
You must be signed in to change notification settings - Fork 625
Random code cleanup for Storage #758
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
Conversation
The public api surface has changed for the subproject firebase-storage: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for cleaning these up.
Log.e(TAG, "Unable to create a valid default Uri. " + bucket + path, e); | ||
throw new IllegalStateException(e); | ||
} | ||
uri = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inline variable declaration?
|
||
throw new IllegalArgumentException("childName"); | ||
} | ||
child = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inline declaration?
mPendingResult.setException(StorageException.fromException(e)); | ||
return; | ||
} | ||
request = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
mException = e; | ||
return; | ||
} | ||
startRequest = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Inlined all assignments. Thanks for reviewing! |
The public api surface has changed for the subproject firebase-storage: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
/test check-changed |
1 similar comment
/test check-changed |
/test check-changed |
getReference()
helper in all Integration test.Uri.encode()
since it doesn't throw exceptions (and follows the existing encoding of spaces to %20 everywhere)