Skip to content

Commit 2c25031

Browse files
authored
Scrubbing LDAPs in source files (firebase#23)
1 parent ec82f94 commit 2c25031

24 files changed

Lines changed: 35 additions & 35 deletions

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private FirebaseApp(String name, FirebaseOptions options,
108108

109109
/** Returns a list of all FirebaseApps. */
110110
public static List<FirebaseApp> getApps() {
111-
// TODO(arondeak): reenable persistence. See b/28158809.
111+
// TODO: reenable persistence. See b/28158809.
112112
synchronized (appsLock) {
113113
return ImmutableList.copyOf(instances.values());
114114
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* A listener which gets notified when {@link com.google.firebase.FirebaseApp} gets deleted.
2121
*/
22-
// TODO(arondeak): consider making it public in a future release.
22+
// TODO: consider making it public in a future release.
2323
interface FirebaseAppLifecycleListener {
2424

2525
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/** Configurable Firebase options. */
3333
public final class FirebaseOptions {
3434

35-
// TODO(arondeak): deprecate and remove it once we can fetch these from Remote Config.
35+
// TODO: deprecate and remove it once we can fetch these from Remote Config.
3636

3737
private final String databaseUrl;
3838
private final FirebaseCredential firebaseCredential;

src/main/java/com/google/firebase/auth/FirebaseAuthException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
package com.google.firebase.auth;
1818

19-
// TODO(rahulrav/isachen): Move it out from firebase-common. Temporary host it their for
19+
// TODO: Move it out from firebase-common. Temporary host it their for
2020
// database's integration.http://b/27624510.
2121

22-
// TODO(rahulrav/isachen): Decide if changing this not enforcing an error code. Need to align
22+
// TODO: Decide if changing this not enforcing an error code. Need to align
2323
// with the decision in http://b/27677218. Also, need to turn this into abstract later.
2424

2525
import static com.google.common.base.Preconditions.checkArgument;

src/main/java/com/google/firebase/auth/internal/FirebaseCustomAuthToken.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static class Payload extends IdToken.Payload {
7171
/**
7272
* Any additional claims the developer wishes stored and signed by Firebase.
7373
*
74-
* <p>TODO([email protected]): Come up with a solution to allow this to be parsed as the
74+
* <p>TODO: Come up with a solution to allow this to be parsed as the
7575
* correct type.
7676
*/
7777
@Key("claims")

src/main/java/com/google/firebase/auth/internal/FirebaseTokenVerifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private String concat(Collection<String> collection) {
167167
* Verifies the cryptographic signature on the FirebaseToken. Can block on a web request to fetch
168168
* the keys if they have expired.
169169
*
170-
* <p>TODO(jeffcraig): Wrap these blocking steps in a Task.
170+
* <p>TODO: Wrap these blocking steps in a Task.
171171
*/
172172
private boolean verifySignature(IdToken token) throws GeneralSecurityException, IOException {
173173
for (PublicKey key : publicKeysManager.getPublicKeys()) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
* @param <T> The type of generic collection that this instance servers as an indicator for
6161
*/
6262
public abstract class GenericTypeIndicator<T> {
63-
// TODO(dimond): This is a legacy class that inherited from TypeIndicator from Jackson to be
63+
// TODO: This is a legacy class that inherited from TypeIndicator from Jackson to be
6464
// able to resolve generic types. We need a new solution going forward.
6565
}

src/main/java/com/google/firebase/database/connection/ConnectionUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static Long longFromObject(Object o) {
6060
}
6161
}
6262

63-
// TODO(dimond): Merge these with Utils from firebase-database
63+
// TODO: Merge these with Utils from firebase-database
6464
public static void hardAssert(boolean condition) {
6565
hardAssert(condition, "");
6666
}

src/main/java/com/google/firebase/database/connection/PersistentConnectionImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public void listen(
183183
if (logger.logsDebug()) {
184184
logger.debug("Listening on " + query);
185185
}
186-
// TODO(dimond): Fix this somehow?
186+
// TODO: Fix this somehow?
187187
//hardAssert(query.isDefault() || !query.loadsAllData(), "listen() called for non-default but "
188188
// + "complete query");
189189
hardAssert(!listens.containsKey(query), "listen() called twice for same QuerySpec.");
@@ -322,7 +322,7 @@ public void unlisten(List<String> path, Map<String, Object> queryParams) {
322322
logger.debug("unlistening on " + query);
323323
}
324324

325-
// TODO(dimond): fix this by understanding query params?
325+
// TODO: fix this by understanding query params?
326326
//Utilities.hardAssert(query.isDefault() || !query.loadsAllData(),
327327
// "unlisten() called for non-default but complete query");
328328
OutstandingListen listen = removeListen(query);
@@ -1054,7 +1054,7 @@ private void sendConnectStats() {
10541054
stats.put("persistence.android.enabled", 1);
10551055
}
10561056
stats.put("sdk.android." + context.getClientSdkVersion().replace('.', '-'), 1);
1057-
// TODO(dimond): Also send stats for connection version
1057+
// TODO: Also send stats for connection version
10581058
} else {
10591059
assert !this.context.isPersistenceEnabled()
10601060
: "Stats for persistence on JVM missing (persistence not yet supported)";

src/main/java/com/google/firebase/database/core/AuthTokenProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ interface TokenChangeListener {
6666
*/
6767
void onTokenChange(String token);
6868

69-
// TODO(mikelehen): Remove this once AndroidAuthTokenProvider is updated to call
69+
// TODO: Remove this once AndroidAuthTokenProvider is updated to call
7070
// the other method.
7171

7272
void onTokenChange();

0 commit comments

Comments
 (0)