aboutsummaryrefslogtreecommitdiff
path: root/objectivec
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2016-02-11 17:17:48 -0800
committerJoshua Haberman <jhaberman@gmail.com>2016-02-11 17:17:48 -0800
commit3ee2e20539294c0baff879d5c5164540c8749a2b (patch)
tree107f6ae86fc18a1a11b6230383d1b7c8007db37c /objectivec
parentcaf1fb7197ee94c07108fc7cfbca07432b185a28 (diff)
parent86325d7c95af4c82f7531b21c6d845fad8a4a2bb (diff)
downloadprotobuf-3ee2e20539294c0baff879d5c5164540c8749a2b.tar.gz
protobuf-3ee2e20539294c0baff879d5c5164540c8749a2b.tar.bz2
protobuf-3ee2e20539294c0baff879d5c5164540c8749a2b.zip
Merge pull request #1144 from dongjoon-hyun/remove_redundant_the
Remove redundant `the`.
Diffstat (limited to 'objectivec')
-rwxr-xr-xobjectivec/DevTools/pddm.py3
-rw-r--r--objectivec/GPBUtilities.m2
2 files changed, 2 insertions, 3 deletions
diff --git a/objectivec/DevTools/pddm.py b/objectivec/DevTools/pddm.py
index d1b53f5a..9a11fec4 100755
--- a/objectivec/DevTools/pddm.py
+++ b/objectivec/DevTools/pddm.py
@@ -625,8 +625,7 @@ class SourceFile(object):
def main(args):
usage = '%prog [OPTIONS] PATH ...'
description = (
- 'Processes PDDM directives in the the given paths and write them back'
- ' out.'
+ 'Processes PDDM directives in the given paths and write them back out.'
)
parser = optparse.OptionParser(usage=usage, description=description)
parser.add_option('--dry-run',
diff --git a/objectivec/GPBUtilities.m b/objectivec/GPBUtilities.m
index eaa28bbc..d4d6471f 100644
--- a/objectivec/GPBUtilities.m
+++ b/objectivec/GPBUtilities.m
@@ -1253,7 +1253,7 @@ static void AppendTextFormatForMessageField(GPBMessage *message,
if ([fieldName length] == 0) {
fieldName = [NSString stringWithFormat:@"%u", GPBFieldNumber(field)];
// If there is only one entry, put the objc name as a comment, other wise
- // add it before the the repeated values.
+ // add it before the repeated values.
if (count > 1) {
[toStr appendFormat:@"%@# %@\n", lineIndent, field.name];
} else {