aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Database/Public
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2017-06-30 10:47:37 -0700
committerGravatar VinayGuthal <vinayg@qhode.com>2017-06-30 13:47:37 -0400
commitddbfd4cc666f5227ab0e1f5a98c8a499ccbb32d1 (patch)
tree9c2ec4e15b6741f413d66f428c45f0278219d728 /Firebase/Database/Public
parent925f4c8b7558373172dd9410b7844637afaa2424 (diff)
Add travis trailing whitespace check (#116)
* Add travis trailing whitespace check * Remove trailing white space
Diffstat (limited to 'Firebase/Database/Public')
-rw-r--r--Firebase/Database/Public/FIRDataSnapshot.h6
-rw-r--r--Firebase/Database/Public/FIRDatabase.h4
-rw-r--r--Firebase/Database/Public/FIRDatabaseReference.h38
3 files changed, 24 insertions, 24 deletions
diff --git a/Firebase/Database/Public/FIRDataSnapshot.h b/Firebase/Database/Public/FIRDataSnapshot.h
index e615260..c3082df 100644
--- a/Firebase/Database/Public/FIRDataSnapshot.h
+++ b/Firebase/Database/Public/FIRDataSnapshot.h
@@ -38,7 +38,7 @@ FIR_SWIFT_NAME(DataSnapshot)
/**
* Gets a FIRDataSnapshot for the location at the specified relative path.
- * The relative path can either be a simple child key (e.g. 'fred')
+ * The relative path can either be a simple child key (e.g. 'fred')
* or a deeper slash-separated path (e.g. 'fred/name/first'). If the child
* location has no data, an empty FIRDataSnapshot is returned.
*
@@ -59,7 +59,7 @@ FIR_SWIFT_NAME(DataSnapshot)
/**
* Return YES if the DataSnapshot has any children.
- *
+ *
* @return YES if this snapshot has any children, else NO.
*/
- (BOOL) hasChildren;
@@ -78,7 +78,7 @@ FIR_SWIFT_NAME(DataSnapshot)
/**
* Returns the raw value at this location, coupled with any metadata, such as priority.
*
- * Priorities, where they exist, are accessible under the ".priority" key in instances of NSDictionary.
+ * Priorities, where they exist, are accessible under the ".priority" key in instances of NSDictionary.
* For leaf locations with priorities, the value will be under the ".value" key.
*/
- (id __nullable) valueInExportFormat;
diff --git a/Firebase/Database/Public/FIRDatabase.h b/Firebase/Database/Public/FIRDatabase.h
index ebdbf8a..fd4535f 100644
--- a/Firebase/Database/Public/FIRDatabase.h
+++ b/Firebase/Database/Public/FIRDatabase.h
@@ -29,9 +29,9 @@ NS_ASSUME_NONNULL_BEGIN
*/
FIR_SWIFT_NAME(Database)
@interface FIRDatabase : NSObject
-
+
/**
- * The NSObject initializer that has been marked as unavailable. Use the `database`
+ * The NSObject initializer that has been marked as unavailable. Use the `database`
* method instead
*
* @return An instancetype instance
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;