From ddbfd4cc666f5227ab0e1f5a98c8a499ccbb32d1 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Fri, 30 Jun 2017 10:47:37 -0700 Subject: Add travis trailing whitespace check (#116) * Add travis trailing whitespace check * Remove trailing white space --- Firebase/Database/Public/FIRDatabaseReference.h | 38 ++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'Firebase/Database/Public/FIRDatabaseReference.h') diff --git a/Firebase/Database/Public/FIRDatabaseReference.h b/Firebase/Database/Public/FIRDatabaseReference.h index eb3fecd..53d0cdd 100644 --- a/Firebase/Database/Public/FIRDatabaseReference.h +++ b/Firebase/Database/Public/FIRDatabaseReference.h @@ -74,8 +74,8 @@ FIR_SWIFT_NAME(DatabaseReference) /** Write data to this Firebase Database location. -This will overwrite any data at this location and all child locations. - +This will overwrite any data at this location and all child locations. + Data types that can be set are: - NSString -- @"Hello World" @@ -86,7 +86,7 @@ Data types that can be set are: The effect of the write will be visible immediately and the corresponding events will be triggered. Synchronization of the data to the Firebase Database servers will also be started. - + Passing null for the new value is equivalent to calling remove:; all data at this location or any child location will be deleted. @@ -131,7 +131,7 @@ is meant to be preserved, you should use setValue:andPriority: instead. /** * Remove the data at this Firebase Database location. Any data at child locations will also be deleted. - * + * * The effect of the delete will be visible immediately and the corresponding events * will be triggered. Synchronization of the delete to the Firebase Database servers will * also be started. @@ -165,7 +165,7 @@ is meant to be preserved, you should use setValue:andPriority: instead. * Children with a string as their priority come last. They are sorted lexicographically by priority. * Whenever two children have the same priority (including no priority), they are sorted by key. Numeric * keys come first (sorted numerically), followed by the remaining keys (sorted lexicographically). - * + * * Note that priorities are parsed and ordered as IEEE 754 double-precision floating-point numbers. * Keys are always stored as strings and are treated as numbers only when they can be parsed as a * 32-bit integer @@ -193,7 +193,7 @@ is meant to be preserved, you should use setValue:andPriority: instead. - (void) updateChildValues:(NSDictionary *)values; /** - * The same as update: with a block that is called once the update has been committed to the + * The same as update: with a block that is called once the update has been committed to the * Firebase Database servers * * @param values A dictionary of the keys to change and their new values @@ -553,7 +553,7 @@ is meant to be preserved, you should use setValue:andPriority: instead. /** * Cancel any operations that are set to run on disconnect. If you previously called onDisconnectSetValue:, - * onDisconnectRemoveValue:, or onDisconnectUpdateChildValues:, and no longer want the values updated when the + * onDisconnectRemoveValue:, or onDisconnectUpdateChildValues:, and no longer want the values updated when the * connection is lost, call cancelDisconnectOperations: */ - (void) cancelDisconnectOperations; @@ -575,19 +575,19 @@ is meant to be preserved, you should use setValue:andPriority: instead. * Manually disconnect the Firebase Database client from the server and disable automatic reconnection. * * The Firebase Database client automatically maintains a persistent connection to the Firebase Database server, - * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( ) - * and goOnline( ) methods may be used to manually control the client connection in cases where + * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( ) + * and goOnline( ) methods may be used to manually control the client connection in cases where * a persistent connection is undesirable. - * + * * While offline, the Firebase Database client will no longer receive data updates from the server. However, * all database operations performed locally will continue to immediately fire events, allowing - * your application to continue behaving normally. Additionally, each operation performed locally + * your application to continue behaving normally. Additionally, each operation performed locally * will automatically be queued and retried upon reconnection to the Firebase Database server. - * + * * To reconnect to the Firebase Database server and begin receiving remote events, see goOnline( ). * Once the connection is reestablished, the Firebase Database client will transmit the appropriate data * and fire the appropriate events so that your client "catches up" automatically. - * + * * Note: Invoking this method will impact all Firebase Database connections. */ + (void) goOffline; @@ -596,16 +596,16 @@ is meant to be preserved, you should use setValue:andPriority: instead. * Manually reestablish a connection to the Firebase Database server and enable automatic reconnection. * * The Firebase Database client automatically maintains a persistent connection to the Firebase Database server, - * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( ) - * and goOnline( ) methods may be used to manually control the client connection in cases where + * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( ) + * and goOnline( ) methods may be used to manually control the client connection in cases where * a persistent connection is undesirable. - * - * This method should be used after invoking goOffline( ) to disable the active connection. + * + * This method should be used after invoking goOffline( ) to disable the active connection. * Once reconnected, the Firebase Database client will automatically transmit the proper data and fire * the appropriate events so that your client "catches up" automatically. - * + * * To disconnect from the Firebase Database server, see goOffline( ). - * + * * Note: Invoking this method will impact all Firebase Database connections. */ + (void) goOnline; -- cgit v1.2.3