From 4f6509d5ff866028a01de0cc08d39112be99cc5a Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Tue, 11 Jun 2024 11:57:05 -0700 Subject: [PATCH] Prevent unnecessary unboxing See gh-40985 --- .../boot/web/embedded/tomcat/NestedJarResourceSet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/NestedJarResourceSet.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/NestedJarResourceSet.java index 0f1be9560a9..dc4e3535aa7 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/NestedJarResourceSet.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/NestedJarResourceSet.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2024 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. @@ -128,7 +128,7 @@ class NestedJarResourceSet extends AbstractSingleArchiveResourceSet { } } } - return this.multiRelease.booleanValue(); + return this.multiRelease; } @Override