Source:
<code>private static void setup(DistributedQueryRunner queryRunner, H2ResourceGroupsDao dao, String environment) throws InterruptedException { <START> JsonCodec<List<String>> clientTagCodec = listJsonCodec(String.class); <END> dao.insertResourceGroupsGlobalProperties("cpu_quota_period", "1h"); dao.insertResourceGroup(1, "global", "1MB", 100, 1000, 1000, null, null, null, null, null, null, null, null, TEST_ENVIRONMENT); dao.insertResourceGroup(2, "bi-${USER}", "1MB", 3, 2, 2, null, null, null, null, null, null, null, 1L, TEST_ENVIRONMENT); dao.insertResourceGroup(3, "user-${USER}", "1MB", 3, 3, 3, null, null, null, null, null, null, null, 1L, TEST_ENVIRONMENT); dao.insertResourceGroup(4, "adhoc-${USER}", "1MB", 3, 3, 3, null, null, null, null, null, null, null, 3L, TEST_ENVIRONMENT); dao.insertResourceGroup(5, "dashboard-${USER}", "1MB", 1, 1, 1, null, null, null, null, null, null, null, 3L, TEST_ENVIRONMENT); dao.insertResourceGroup(6, "no-queueing", "1MB", 0, 1, 1, null, null, null, null, null, null, null, null, TEST_ENVIRONMENT_2); dao.insertSelector(2, "user.*", "test", null); dao.insertSelector(4, "user.*", "(?i).*adhoc.*", null); dao.insertSelector(5, "user.*", "(?i).*dashboard.*", null); dao.insertSelector(4, "user.*", null, clientTagCodec.toJson(ImmutableList.of("tag1", "tag2"))); dao.insertSelector(2, "user.*", null, clientTagCodec.toJson(ImmutableList.of("tag1"))); dao.insertSelector(6, ".*", ".*", null); int expectedSelectors = 5; if (environment.equals(TEST_ENVIRONMENT_2)) { expectedSelectors = 1; } while (getSelectors(queryRunner).size() != expectedSelectors) { MILLISECONDS.sleep(500); } }</code><technical_language>move this class level mark private static final</technical_language>

Target:
private static void setup(DistributedQueryRunner queryRunner, H2ResourceGroupsDao dao, String environment) throws InterruptedException { dao.insertResourceGroupsGlobalProperties("cpu_quota_period", "1h"); dao.insertResourceGroup(1, "global", "1MB", 100, 1000, 1000, null, null, null, null, null, null, null, null, TEST_ENVIRONMENT); dao.insertResourceGroup(2, "bi-${USER}", "1MB", 3, 2, 2, null, null, null, null, null, null, null, 1L, TEST_ENVIRONMENT); dao.insertResourceGroup(3, "user-${USER}", "1MB", 3, 3, 3, null, null, null, null, null, null, null, 1L, TEST_ENVIRONMENT); dao.insertResourceGroup(4, "adhoc-${USER}", "1MB", 3, 3, 3, null, null, null, null, null, null, null, 3L, TEST_ENVIRONMENT); dao.insertResourceGroup(5, "dashboard-${USER}", "1MB", 1, 1, 1, null, null, null, null, null, null, null, 3L, TEST_ENVIRONMENT); dao.insertResourceGroup(6, "no-queueing", "1MB", 0, 1, 1, null, null, null, null, null, null, null, null, TEST_ENVIRONMENT_2); dao.insertSelector(2, "user.*", "test", null); dao.insertSelector(4, "user.*", "(?i).*adhoc.*", null); dao.insertSelector(5, "user.*", "(?i).*dashboard.*", null); dao.insertSelector(4, "user.*", null, CLIENT_TAGS_CODEC.toJson(ImmutableList.of("tag1", "tag2"))); dao.insertSelector(2, "user.*", null, CLIENT_TAGS_CODEC.toJson(ImmutableList.of("tag1"))); dao.insertSelector(6, ".*", ".*", null); int expectedSelectors = 5; if (environment.equals(TEST_ENVIRONMENT_2)) { expectedSelectors = 1; } while (getSelectors(queryRunner).size() != expectedSelectors) { MILLISECONDS.sleep(500); } }