Skip to content

Commit 03af55a

Browse files
committed
Merge pull request #1817 from sgrillon14:master
* pr/1817: Remove unnecessary boxing
2 parents f7029ff + c5278aa commit 03af55a

File tree

1 file changed

+2
-2
lines changed
  • spring-expression/src/main/java/org/springframework/expression/spel/standard

1 file changed

+2
-2
lines changed

spring-expression/src/main/java/org/springframework/expression/spel/standard/Tokenizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -265,7 +265,7 @@ else if (isTwoCharToken(TokenKind.SAFE_NAVI)) {
265265
raiseParseException(this.pos, SpelMessage.UNEXPECTED_ESCAPE_CHAR);
266266
break;
267267
default:
268-
throw new IllegalStateException("Cannot handle (" + Integer.valueOf(ch) + ") '" + ch + "'");
268+
throw new IllegalStateException("Cannot handle ('" + ch + "')");
269269
}
270270
}
271271
}

0 commit comments

Comments
 (0)