Преглед на файлове

Review files under the FirebasePerformance/Sources directory (#13361)

Seyed Mojtaba Hosseini Zeidabadi преди 1 година
родител
ревизия
1b61e4df50

+ 1 - 1
FirebasePerformance/Sources/Configurations/FPRConfigurations.m

@@ -144,7 +144,7 @@ static dispatch_once_t gSharedInstanceToken;
 // The data collection flag is determined by this order:
 //   1. A plist flag for permanently disabling data collection
 //   2. The runtime flag (GULUserDefaults)
-//   3. A plist flag for enabling/disabling (overrideable)
+//   3. A plist flag for enabling/disabling (overridable)
 //   4. The global data collection switch from Core.
 - (BOOL)isDataCollectionEnabled {
   /**

+ 1 - 1
FirebasePerformance/Sources/Gauges/CPU/FPRCPUGaugeCollector.h

@@ -36,7 +36,7 @@ NS_EXTENSION_UNAVAILABLE("Firebase Performance is not supported for extensions."
 
 @end
 
-/** CPU Gauge collector implementation. This class collects the CPU utilitization and reports back
+/** CPU Gauge collector implementation. This class collects the CPU utilization and reports back
  *  to the delegate.
  */
 NS_EXTENSION_UNAVAILABLE("Firebase Performance is not supported for extensions.")

+ 1 - 1
FirebasePerformance/Sources/Gauges/FPRGaugeManager.m

@@ -102,7 +102,7 @@ NS_EXTENSION_UNAVAILABLE("Firebase Performance is not supported for extensions."
 
 - (BOOL)gaugeCollectionEnabled {
   // Allow gauge collection to happen during cold start. During dispatch time, we do another check
-  // to make sure if gauge collection is enabled. This is to accomodate gauge metric collection
+  // to make sure if gauge collection is enabled. This is to accommodate gauge metric collection
   // during app_start scenario.
   if (self.isColdStart) {
     return YES;

+ 1 - 1
FirebasePerformance/Sources/Instrumentation/FPRNetworkTrace.h

@@ -161,7 +161,7 @@ NS_EXTENSION_UNAVAILABLE("Firebase Performance is not supported for extensions."
 - (nullable instancetype)init NS_UNAVAILABLE;
 
 /**
- * Records the begining of the network request. This is usually called just before initiating the
+ * Records the beginning of the network request. This is usually called just before initiating the
  * request.
  */
 - (void)start;

+ 1 - 1
FirebasePerformance/Sources/Loggers/FPRGDTLogger.h

@@ -38,7 +38,7 @@ NS_EXTENSION_UNAVAILABLE("Firebase Performance is not supported for extensions."
 /**
  * Logs an event that needs to be dispatched.
  *
- * @remark Events are logged/dispatched asynchrounously using a serial dispatch queue.
+ * @remark Events are logged/dispatched asynchronously using a serial dispatch queue.
  * @param event The event to log.
  */
 - (void)logEvent:(firebase_perf_v1_PerfMetric)event;