Skip to content

Commit 09bb2e2

Browse files
authored
chore: remove repetitive words (#15449)
Signed-off-by: pavedroad <qcqs@outlook.com>
1 parent d119295 commit 09bb2e2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go/mysql/icuregex/compiler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func (c *compiler) compile(pat []rune) error {
328328
// Main loop for the regex pattern parsing state machine.
329329
// Runs once per state transition.
330330
// Each time through optionally performs, depending on the state table,
331-
// - an advance to the the next pattern char
331+
// - an advance to the next pattern char
332332
// - an action to be performed.
333333
// - pushing or popping a state to/from the local state return stack.
334334
// file regexcst.txt is the source for the state table. The logic behind

go/vt/vtctl/vtctl_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var (
4343
unknownParamsLoggedDryRunVSchema string
4444
)
4545

46-
// TestApplyVSchema tests the the MoveTables client command
46+
// TestApplyVSchema tests the MoveTables client command
4747
// via the commandVRApplyVSchema() cmd handler.
4848
func TestApplyVSchema(t *testing.T) {
4949
shard := "0"
@@ -139,7 +139,7 @@ Dry run: Skipping update of VSchema`,
139139
}
140140
}
141141

142-
// TestMoveTables tests the the MoveTables client command
142+
// TestMoveTables tests the MoveTables client command
143143
// via the commandVReplicationWorkflow() cmd handler.
144144
// This currently only tests the Progress action (which is
145145
// a parent of the Show action) but it can be used to test

go/vt/vttablet/tabletmanager/vreplication/vcopier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ func (vtl *vcopierCopyTaskLifecycle) after(state vcopierCopyTaskState) *vcopierC
830830
}
831831

832832
// before returns a vcopierCopyTaskHooks that can be used to register callbacks
833-
// to be triggered before the the specified vcopierCopyTaskState.
833+
// to be triggered before the specified vcopierCopyTaskState.
834834
func (vtl *vcopierCopyTaskLifecycle) before(state vcopierCopyTaskState) *vcopierCopyTaskHooks {
835835
key := "before:" + state.String()
836836
if _, ok := vtl.hooks[key]; !ok {

go/vt/vttablet/tabletserver/vstreamer/vstreamer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ func (vs *vstreamer) buildTableColumns(tm *mysql.TableMap) ([]*querypb.Field, er
768768
if err != nil {
769769
return nil, fmt.Errorf("unsupported type: %d, position: %d", typ, i)
770770
}
771-
// Use the the collation inherited or the one specified explicitly for the
771+
// Use the collation inherited or the one specified explicitly for the
772772
// column if one was provided in the event's optional metadata (MySQL only
773773
// provides this for text based columns).
774774
var coll collations.ID

0 commit comments

Comments
 (0)