From c5278aa359a1847b8df89da21b01dd48aa097d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20GRILLON?= Date: Thu, 3 May 2018 10:26:16 +0200 Subject: [PATCH] Remove unnecessary boxing Closes gh-1817 --- .../springframework/expression/spel/standard/Tokenizer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-expression/src/main/java/org/springframework/expression/spel/standard/Tokenizer.java b/spring-expression/src/main/java/org/springframework/expression/spel/standard/Tokenizer.java index c9d026519f..efbd364233 100644 --- a/spring-expression/src/main/java/org/springframework/expression/spel/standard/Tokenizer.java +++ b/spring-expression/src/main/java/org/springframework/expression/spel/standard/Tokenizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -265,7 +265,7 @@ class Tokenizer { raiseParseException(this.pos, SpelMessage.UNEXPECTED_ESCAPE_CHAR); break; default: - throw new IllegalStateException("Cannot handle (" + Integer.valueOf(ch) + ") '" + ch + "'"); + throw new IllegalStateException("Cannot handle ('" + ch + "')"); } } }