Skip to content

Commit e7f5c9d

Browse files
committed
Removes trailing whitespaces
1 parent 5a3405c commit e7f5c9d

File tree

2 files changed

+55
-55
lines changed

2 files changed

+55
-55
lines changed

objectivec/GPBArray.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ NS_ASSUME_NONNULL_END
15741574
//%
15751575
//%/**
15761576
//% * Creates and initializes a GPB##NAME##Array with the single element given.
1577-
//% *
1577+
//% *
15781578
//% * @param value The value to be placed in the array.
15791579
//% *
15801580
//% * @return A newly instanced GPB##NAME##Array with value in it.
@@ -1600,7 +1600,7 @@ NS_ASSUME_NONNULL_END
16001600
//% **/
16011601
//%+ (instancetype)arrayWithCapacity:(NSUInteger)count;
16021602
//%
1603-
//%/**
1603+
//%/**
16041604
//% * @return A newly initialized and empty GPB##NAME##Array.
16051605
//% **/
16061606
//%- (instancetype)init NS_DESIGNATED_INITIALIZER;
@@ -1773,7 +1773,7 @@ NS_ASSUME_NONNULL_END
17731773
//%
17741774
//%/**
17751775
//% * Enumerates the values on this array with the given block.
1776-
//% *
1776+
//% *
17771777
//% * @param block The block to enumerate with.
17781778
//% * **value**: The current value being enumerated.
17791779
//% * **idx**: The index of the current value.
@@ -1827,7 +1827,7 @@ NS_ASSUME_NONNULL_END
18271827
//% * Enumerates the values on this array with the given block.
18281828
//% *
18291829
//% * @param opts Options to control the enumeration.
1830-
//% * @param block The block to enumerate with.
1830+
//% * @param block The block to enumerate with.
18311831
//% * **value**: The current value being enumerated.
18321832
//% * **idx**: The index of the current value.
18331833
//% * **stop**: A pointer to a boolean that when set stops the enumeration.

objectivec/GPBDictionary.h

+51-51
Original file line numberDiff line numberDiff line change
@@ -8195,19 +8195,19 @@ NS_ASSUME_NONNULL_END
81958195
//%PDDM-DEFINE VALUE_FOR_KEY_POD(KEY_TYPE, VALUE_TYPE, VNAME)
81968196
//%/**
81978197
//% * Gets the value for the given key.
8198-
//% *
8198+
//% *
81998199
//% * @param value Pointer into which the value will be set, if found.
82008200
//% * @param key Key under which the value is stored, if present.
8201-
//% *
8201+
//% *
82028202
//% * @return YES if the key was found and the value was copied, NO otherwise.
82038203
//% **/
82048204
//%- (BOOL)get##VNAME##:(nullable VALUE_TYPE *)value forKey:(KEY_TYPE)key;
82058205
//%PDDM-DEFINE VALUE_FOR_KEY_OBJECT(KEY_TYPE, VALUE_TYPE, VNAME)
82068206
//%/**
82078207
//% * Fetches the object stored under the given key.
8208-
//% *
8208+
//% *
82098209
//% * @param key Key under which the value is stored, if present.
8210-
//% *
8210+
//% *
82118211
//% * @return The object if found, nil otherwise.
82128212
//% **/
82138213
//%- (VALUE_TYPE)objectForKey:(KEY_TYPE)key;
@@ -8231,7 +8231,7 @@ NS_ASSUME_NONNULL_END
82318231
//%/**
82328232
//% * Class used for map fields of <##KEY_TYPE##, ##VALUE_TYPE##>
82338233
//% * values. This performs better than boxing into NSNumbers in NSDictionaries.
8234-
//% *
8234+
//% *
82358235
//% * @note This class is not meant to be subclassed.
82368236
//% **/
82378237
//%@interface DICTIONARY_CLASS_DECL##VHELPER(KEY_NAME, VALUE_NAME, VALUE_TYPE) : NSObject <NSCopying>
@@ -8246,22 +8246,22 @@ NS_ASSUME_NONNULL_END
82468246
//%
82478247
//%/**
82488248
//% * Creates and initializes a dictionary with the single entry given.
8249-
//% *
8249+
//% *
82508250
//% * @param ##VNAME_VAR The value to be placed in the dictionary.
82518251
//% * @param key ##VNAME_VAR$S## The key under which to store the value.
8252-
//% *
8252+
//% *
82538253
//% * @return A newly instanced dictionary with the key and value in it.
82548254
//% **/
82558255
//%+ (instancetype)dictionaryWith##VNAME##:(VALUE_TYPE)##VNAME_VAR
82568256
//% ##VNAME$S## forKey:(KEY_TYPE##KisP$S##KisP)key;
82578257
//%
82588258
//%/**
82598259
//% * Creates and initializes a dictionary with the entries given.
8260-
//% *
8260+
//% *
82618261
//% * @param ##VNAME_VAR##s The values to be placed in the dictionary.
82628262
//% * @param keys ##VNAME_VAR$S## The keys under which to store the values.
82638263
//% * @param count ##VNAME_VAR$S## The number of entries to store in the dictionary.
8264-
//% *
8264+
//% *
82658265
//% * @return A newly instanced dictionary with the keys and values in it.
82668266
//% **/
82678267
//%+ (instancetype)dictionaryWith##VNAME##s:(const VALUE_TYPE ARRAY_ARG_MODIFIER##VHELPER()[__nullable])##VNAME_VAR##s
@@ -8271,30 +8271,30 @@ NS_ASSUME_NONNULL_END
82718271
//%/**
82728272
//% * Creates and initializes a dictionary with the entries from the given.
82738273
//% * dictionary.
8274-
//% *
8274+
//% *
82758275
//% * @param dictionary Dictionary containing the entries to add to the dictionary.
8276-
//% *
8276+
//% *
82778277
//% * @return A newly instanced dictionary with the entries from the given
82788278
//% * dictionary in it.
82798279
//% **/
82808280
//%+ (instancetype)dictionaryWithDictionary:(GPB##KEY_NAME##VALUE_NAME##Dictionary *)dictionary;
82818281
//%
82828282
//%/**
82838283
//% * Creates and initializes a dictionary with the given capacity.
8284-
//% *
8284+
//% *
82858285
//% * @param numItems Capacity needed for the dictionary.
8286-
//% *
8286+
//% *
82878287
//% * @return A newly instanced dictionary with the given capacity.
82888288
//% **/
82898289
//%+ (instancetype)dictionaryWithCapacity:(NSUInteger)numItems;
82908290
//%
82918291
//%/**
82928292
//% * Initializes this dictionary, copying the given values and keys.
8293-
//% *
8293+
//% *
82948294
//% * @param ##VNAME_VAR##s The values to be placed in this dictionary.
82958295
//% * @param keys ##VNAME_VAR$S## The keys under which to store the values.
82968296
//% * @param count ##VNAME_VAR$S## The number of elements to copy into the dictionary.
8297-
//% *
8297+
//% *
82988298
//% * @return A newly initialized dictionary with a copy of the values and keys.
82998299
//% **/
83008300
//%- (instancetype)initWith##VNAME##s:(const VALUE_TYPE ARRAY_ARG_MODIFIER##VHELPER()[__nullable])##VNAME_VAR##s
@@ -8303,18 +8303,18 @@ NS_ASSUME_NONNULL_END
83038303
//%
83048304
//%/**
83058305
//% * Initializes this dictionary, copying the entries from the given dictionary.
8306-
//% *
8306+
//% *
83078307
//% * @param dictionary Dictionary containing the entries to add to this dictionary.
8308-
//% *
8308+
//% *
83098309
//% * @return A newly initialized dictionary with the entries of the given dictionary.
83108310
//% **/
83118311
//%- (instancetype)initWithDictionary:(GPB##KEY_NAME##VALUE_NAME##Dictionary *)dictionary;
83128312
//%
83138313
//%/**
83148314
//% * Initializes this dictionary with the requested capacity.
8315-
//% *
8315+
//% *
83168316
//% * @param numItems Number of items needed for this dictionary.
8317-
//% *
8317+
//% *
83188318
//% * @return A newly initialized dictionary with the requested capacity.
83198319
//% **/
83208320
//%- (instancetype)initWithCapacity:(NSUInteger)numItems;
@@ -8323,7 +8323,7 @@ NS_ASSUME_NONNULL_END
83238323
//%
83248324
//%/**
83258325
//% * Adds the keys and values from another dictionary.
8326-
//% *
8326+
//% *
83278327
//% * @param otherDictionary Dictionary containing entries to be added to this
83288328
//% * dictionary.
83298329
//% **/
@@ -8342,7 +8342,7 @@ NS_ASSUME_NONNULL_END
83428342
//%/**
83438343
//% * Class used for map fields of <##KEY_TYPE##, ##VALUE_TYPE##>
83448344
//% * values. This performs better than boxing into NSNumbers in NSDictionaries.
8345-
//% *
8345+
//% *
83468346
//% * @note This class is not meant to be subclassed.
83478347
//% **/
83488348
//%@interface GPB##KEY_NAME##VALUE_NAME##Dictionary : NSObject <NSCopying>
@@ -8359,20 +8359,20 @@ NS_ASSUME_NONNULL_END
83598359
//%
83608360
//%/**
83618361
//% * Creates and initializes a dictionary with the given validation function.
8362-
//% *
8362+
//% *
83638363
//% * @param func The enum validation function for the dictionary.
8364-
//% *
8364+
//% *
83658365
//% * @return A newly instanced dictionary.
83668366
//% **/
83678367
//%+ (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func;
83688368
//%
83698369
//%/**
83708370
//% * Creates and initializes a dictionary with the single entry given.
8371-
//% *
8371+
//% *
83728372
//% * @param func The enum validation function for the dictionary.
83738373
//% * @param rawValue The raw enum value to be placed in the dictionary.
83748374
//% * @param key The key under which to store the value.
8375-
//% *
8375+
//% *
83768376
//% * @return A newly instanced dictionary with the key and value in it.
83778377
//% **/
83788378
//%+ (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func
@@ -8381,12 +8381,12 @@ NS_ASSUME_NONNULL_END
83818381
//%
83828382
//%/**
83838383
//% * Creates and initializes a dictionary with the entries given.
8384-
//% *
8384+
//% *
83858385
//% * @param func The enum validation function for the dictionary.
83868386
//% * @param values The raw enum values values to be placed in the dictionary.
83878387
//% * @param keys The keys under which to store the values.
83888388
//% * @param count The number of entries to store in the dictionary.
8389-
//% *
8389+
//% *
83908390
//% * @return A newly instanced dictionary with the keys and values in it.
83918391
//% **/
83928392
//%+ (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func
@@ -8397,42 +8397,42 @@ NS_ASSUME_NONNULL_END
83978397
//%/**
83988398
//% * Creates and initializes a dictionary with the entries from the given.
83998399
//% * dictionary.
8400-
//% *
8400+
//% *
84018401
//% * @param dictionary Dictionary containing the entries to add to the dictionary.
8402-
//% *
8402+
//% *
84038403
//% * @return A newly instanced dictionary with the entries from the given
84048404
//% * dictionary in it.
84058405
//% **/
84068406
//%+ (instancetype)dictionaryWithDictionary:(GPB##KEY_NAME##VALUE_NAME##Dictionary *)dictionary;
84078407
//%
84088408
//%/**
84098409
//% * Creates and initializes a dictionary with the given capacity.
8410-
//% *
8410+
//% *
84118411
//% * @param func The enum validation function for the dictionary.
84128412
//% * @param numItems Capacity needed for the dictionary.
8413-
//% *
8413+
//% *
84148414
//% * @return A newly instanced dictionary with the given capacity.
84158415
//% **/
84168416
//%+ (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func
84178417
//% capacity:(NSUInteger)numItems;
84188418
//%
84198419
//%/**
84208420
//% * Initializes a dictionary with the given validation function.
8421-
//% *
8421+
//% *
84228422
//% * @param func The enum validation function for the dictionary.
8423-
//% *
8423+
//% *
84248424
//% * @return A newly initialized dictionary.
84258425
//% **/
84268426
//%- (instancetype)initWithValidationFunction:(nullable GPBEnumValidationFunc)func;
84278427
//%
84288428
//%/**
84298429
//% * Initializes a dictionary with the entries given.
8430-
//% *
8430+
//% *
84318431
//% * @param func The enum validation function for the dictionary.
84328432
//% * @param values The raw enum values values to be placed in the dictionary.
84338433
//% * @param keys The keys under which to store the values.
84348434
//% * @param count The number of entries to store in the dictionary.
8435-
//% *
8435+
//% *
84368436
//% * @return A newly initialized dictionary with the keys and values in it.
84378437
//% **/
84388438
//%- (instancetype)initWithValidationFunction:(nullable GPBEnumValidationFunc)func
@@ -8443,20 +8443,20 @@ NS_ASSUME_NONNULL_END
84438443
//%/**
84448444
//% * Initializes a dictionary with the entries from the given.
84458445
//% * dictionary.
8446-
//% *
8446+
//% *
84478447
//% * @param dictionary Dictionary containing the entries to add to the dictionary.
8448-
//% *
8448+
//% *
84498449
//% * @return A newly initialized dictionary with the entries from the given
84508450
//% * dictionary in it.
84518451
//% **/
84528452
//%- (instancetype)initWithDictionary:(GPB##KEY_NAME##VALUE_NAME##Dictionary *)dictionary;
84538453
//%
84548454
//%/**
84558455
//% * Initializes a dictionary with the given capacity.
8456-
//% *
8456+
//% *
84578457
//% * @param func The enum validation function for the dictionary.
84588458
//% * @param numItems Capacity needed for the dictionary.
8459-
//% *
8459+
//% *
84608460
//% * @return A newly initialized dictionary with the given capacity.
84618461
//% **/
84628462
//%- (instancetype)initWithValidationFunction:(nullable GPBEnumValidationFunc)func
@@ -8470,23 +8470,23 @@ NS_ASSUME_NONNULL_END
84708470
//%
84718471
//%/**
84728472
//% * Gets the raw enum value for the given key.
8473-
//% *
8473+
//% *
84748474
//% * @note This method bypass the validationFunc to enable the access of values that
84758475
//% * were not known at the time the binary was compiled.
8476-
//% *
8476+
//% *
84778477
//% * @param rawValue Pointer into which the value will be set, if found.
84788478
//% * @param key Key under which the value is stored, if present.
8479-
//% *
8479+
//% *
84808480
//% * @return YES if the key was found and the value was copied, NO otherwise.
84818481
//% **/
84828482
//%- (BOOL)getRawValue:(nullable VALUE_TYPE *)rawValue forKey:(KEY_TYPE##KisP$S##KisP)key;
84838483
//%
84848484
//%/**
84858485
//% * Enumerates the keys and values on this dictionary with the given block.
8486-
//% *
8486+
//% *
84878487
//% * @note This method bypass the validationFunc to enable the access of values that
84888488
//% * were not known at the time the binary was compiled.
8489-
//% *
8489+
//% *
84908490
//% * @param block The block to enumerate with.
84918491
//% * **key**: The key for the current entry.
84928492
//% * **rawValue**: The value for the current entry
@@ -8497,10 +8497,10 @@ NS_ASSUME_NONNULL_END
84978497
//%
84988498
//%/**
84998499
//% * Adds the keys and raw enum values from another dictionary.
8500-
//% *
8500+
//% *
85018501
//% * @note This method bypass the validationFunc to enable the setting of values that
85028502
//% * were not known at the time the binary was compiled.
8503-
//% *
8503+
//% *
85048504
//% * @param otherDictionary Dictionary containing entries to be added to this
85058505
//% * dictionary.
85068506
//% **/
@@ -8521,7 +8521,7 @@ NS_ASSUME_NONNULL_END
85218521
//%
85228522
//%/**
85238523
//% * Enumerates the keys and values on this dictionary with the given block.
8524-
//% *
8524+
//% *
85258525
//% * @param block The block to enumerate with.
85268526
//% * **key**: ##VNAME_VAR$S## The key for the current entry.
85278527
//% * **VNAME_VAR**: The value for the current entry
@@ -8533,15 +8533,15 @@ NS_ASSUME_NONNULL_END
85338533
//%PDDM-DEFINE DICTIONARY_MUTABLE_INTERFACE(KEY_NAME, KEY_TYPE, KisP, VALUE_NAME, VALUE_TYPE, VHELPER, VNAME, VNAME_VAR)
85348534
//%/**
85358535
//% * Sets the value for the given key.
8536-
//% *
8536+
//% *
85378537
//% * @param ##VNAME_VAR The value to set.
85388538
//% * @param key ##VNAME_VAR$S## The key under which to store the value.
85398539
//% **/
85408540
//%- (void)set##VNAME##:(VALUE_TYPE)##VNAME_VAR forKey:(KEY_TYPE##KisP$S##KisP)key;
85418541
//%DICTIONARY_EXTRA_MUTABLE_METHODS_##VHELPER(KEY_NAME, KEY_TYPE, KisP, VALUE_NAME, VALUE_TYPE)
85428542
//%/**
85438543
//% * Removes the entry for the given key.
8544-
//% *
8544+
//% *
85458545
//% * @param aKey Key to be removed from this dictionary.
85468546
//% **/
85478547
//%- (void)remove##VNAME##ForKey:(KEY_TYPE##KisP$S##KisP)aKey;
@@ -8559,10 +8559,10 @@ NS_ASSUME_NONNULL_END
85598559
//%
85608560
//%/**
85618561
//% * Sets the raw enum value for the given key.
8562-
//% *
8562+
//% *
85638563
//% * @note This method bypass the validationFunc to enable the setting of values that
85648564
//% * were not known at the time the binary was compiled.
8565-
//% *
8565+
//% *
85668566
//% * @param rawValue The raw enum value to set.
85678567
//% * @param key The key under which to store the raw enum value.
85688568
//% **/

0 commit comments

Comments
 (0)