Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 19acd3c

Browse files
committed
Fix snagged copyright headers
1 parent 6e8ad2f commit 19acd3c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

core-common/src/main/java/org/glassfish/jersey/uri/PathPattern.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 2010-2013 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2010-2014 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development

core-common/src/test/java/org/glassfish/jersey/uri/UriTemplateTest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
/**
6060
* Taken from Jersey 1: jersey-tests: com.sun.jersey.impl.uri.UriTemplateTest
6161
*
62-
* @author Paul.Sandoz at Sun.Com
62+
* @author Paul.Sandoz
6363
* @author Gerard Davison (gerard.davison at oracle.com)
6464
*/
6565
public class UriTemplateTest {
@@ -398,31 +398,31 @@ public void testGroupIndexes() throws Exception {
398398
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[0]));
399399

400400
template = new UriTemplate("/{a}");
401-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2}));
401+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1}));
402402

403403
template = new UriTemplate("/{a}/b");
404-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2}));
404+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1}));
405405

406406
template = new UriTemplate("/{a}/{b}");
407-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2, 3}));
407+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2}));
408408

409409
template = new UriTemplate("/{a}/{b}");
410-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2, 3}));
410+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2}));
411411

412412
template = new UriTemplate("/{a}/b/{c}");
413-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2, 3}));
413+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 2}));
414414

415415
template = new UriTemplate("/{a: (abc)+}");
416-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 3}));
416+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1}));
417417

418418
template = new UriTemplate("/{a: (abc)+}/b");
419-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 3}));
419+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1}));
420420

421421
template = new UriTemplate("/{a: (abc)+}/{b}");
422-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 3, 4}));
422+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 3}));
423423

424424
template = new UriTemplate("/{a: (abc)+}/b/{c}");
425-
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 3, 4}));
425+
assertThat(template.getPattern().getGroupIndexes(), equalTo(new int[] {1, 3}));
426426
}
427427

428428
void _testSubstitutionArray(String template, String uri, String... values) {

0 commit comments

Comments
 (0)