jetty-9 - HTTP client: Improved test disposal.

This commit is contained in:
Simone Bordet 2012-09-13 09:00:33 +02:00
parent c16778eb48
commit d0d5a422a5
1 changed files with 2 additions and 1 deletions

View File

@ -63,11 +63,12 @@ public class AbstractHttpClientServerTest
}
@After
public void destroy() throws Exception
public void dispose() throws Exception
{
if (client != null)
client.stop();
if (server != null)
server.stop();
server = null;
}
}