Keep javac happy by making variable explicitly final

This commit is contained in:
Andy Wilkinson 2015-10-27 13:49:18 +00:00
parent 89f8af4e6e
commit d29d73d38e
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@Test
public void rootServletContextResource() throws Exception {
AbstractEmbeddedServletContainerFactory factory = getFactory();
AtomicReference<URL> rootResource = new AtomicReference<URL>();
final AtomicReference<URL> rootResource = new AtomicReference<URL>();
this.container = factory
.getEmbeddedServletContainer(new ServletContextInitializer() {
@Override