Use auto boxing and unboxing where feasible

See gh-31916
This commit is contained in:
Yanming Zhou
2023-12-28 15:19:33 +08:00
committed by Stéphane Nicoll
parent 4a450c6fab
commit db2c532c07
7 changed files with 8 additions and 8 deletions

View File

@@ -164,7 +164,7 @@ public class RequestContext {
* no explicit default given.
*/
public boolean isDefaultHtmlEscape() {
return (this.defaultHtmlEscape != null && this.defaultHtmlEscape.booleanValue());
return (this.defaultHtmlEscape != null && this.defaultHtmlEscape);
}
/**