Refined backport of gh-1817

This commit is contained in:
Juergen Hoeller 2018-05-05 13:18:08 +02:00
parent 9f9481ec7b
commit 8848ec73ab
1 changed files with 2 additions and 2 deletions

View File

@ -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 (" + (int) ch + ") '" + ch + "'");
}
}
}