Remove colon from LINT.IfChange clauses.
LINT.IfChange takes a block name; LINT.ThenChange takes a block reference, which may be relative to the current file if it starts with a colon.
I found this because the linter was incorrectly firing on another change of mine.
@@ -356,7 +356,7 @@ final class WorkerSpawnRunner implements SpawnRunner {
}
}
- // LINT.IfChange(:workerAsResource)
+ // LINT.IfChange(workerAsResource)
@SuppressWarnings(
"Finally") // We want to return response only if worker successfully returned to the pool
WorkResponse execInWorkerWorkerAsResource(
@@ -506,7 +506,7 @@ final class WorkerSpawnRunner implements SpawnRunner {
// LINT.ThenChange(:classic)
// TODO (b/214919266) Remove this after filpping the flag.
- // LINT.IfChange(:classic)
+ // LINT.IfChange(classic)
WorkResponse execInWorkerClassic(
Spawn spawn,
WorkerKey key,
