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

Commit 4baed18

Browse files
schlosnapavelbucek
authored andcommitted
Avoid unnecessary boxing and unboxing in UriParser
Change-Id: I8d20f5918864c0db4a2d948425043cdb516fed5b
1 parent 5926495 commit 4baed18

File tree

1 file changed

+2
-2
lines changed
  • core-common/src/main/java/org/glassfish/jersey/uri/internal

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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) 2012-2015 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2012-2017 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
@@ -103,7 +103,7 @@ private String parseComponent(String delimiters, boolean mayEnd, boolean isIp) {
103103
StringBuilder sb = new StringBuilder();
104104

105105
boolean endOfInput = false;
106-
Character c = ci.current();
106+
char c = ci.current();
107107
while (!endOfInput) {
108108
if (c == '{') {
109109
curlyBracketsCount++;

0 commit comments

Comments
 (0)