Skip to content

Commit

Permalink
Fix reference to non-final field
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Apr 12, 2016
1 parent fa18d2c commit 0968d41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -762,12 +762,12 @@ public void customServerHeader() throws Exception {
@Test
public void portClashOfPrimaryConnectorResultsInPortInUseException()
throws IOException {
AbstractEmbeddedServletContainerFactory factory = getFactory();
doWithBlockedPort(new BlockedPortAction() {

@Override
public void run(int port) {
try {
AbstractEmbeddedServletContainerFactory factory = getFactory();
factory.setPort(port);
AbstractEmbeddedServletContainerFactoryTests.this.container = factory
.getEmbeddedServletContainer();
Expand Down

0 comments on commit 0968d41

Please sign in to comment.