Skip to content

Commit 93ad42a

Browse files
authored
FirebaseApp is expected to return a mutable list of apps; Hiding a co… (#11)
* Hiding a couple of internal members in Query * Returning immutable List from FirebaseApp.getApps()
1 parent d2d1b28 commit 93ad42a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/com/google/firebase/FirebaseApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private FirebaseApp(String name, FirebaseOptions options, TokenRefresher.Factory
8282
tokenRefresher = checkNotNull(factory).create(this);
8383
}
8484

85-
/** Returns a mutable list of all FirebaseApps. */
85+
/** Returns a list of all FirebaseApps. */
8686
public static List<FirebaseApp> getApps() {
8787
// TODO(arondeak): reenable persistence. See b/28158809.
8888
synchronized (appsLock) {

src/main/java/com/google/firebase/database/Query.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ public Path getPath() {
640640
/**
641641
* <strong>For internal use</strong>
642642
*
643+
* @hide
643644
* @return The repo
644645
*/
645646
public Repo getRepo() {
@@ -649,6 +650,7 @@ public Repo getRepo() {
649650
/**
650651
* <strong>For internal use</strong>
651652
*
653+
* @hide
652654
* @return The constraints
653655
*/
654656
public QuerySpec getSpec() {

0 commit comments

Comments
 (0)