try {
simpleServlet2 = getClass().getResourceAsStream("SimpleServlet.java.v2.txt");
</BUG>
project.createOrUpdateFile(Path.fromPortableString("src/example/SimpleServlet.java"), simpleServlet2);
<BUG>} finally {
IOUtils.closeQuietly(simpleServlet2);
}</BUG>
poller.pollUntil(new Callable<Void>() {
@Override
public Void call() throws HttpException, IOException {

public Void call() throws HttpException, IOException {
repo.assertGetIsSuccessful("simple-servlet", "Version 1");
return null;
}
}, nullValue(Void.class));
InputStream simpleServlet2 = getClass().getResourceAsStream("SimpleServlet.java.v2.txt");
project.createOrUpdateFile(Path.fromPortableString("src/example/SimpleServlet.java"), simpleServlet2);
poller.pollUntil(new Callable<Void>() {
@Override
public Void call() throws HttpException, IOException {
