import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
-import sun.net.www.protocol.file.FileURLConnection;
-
import com.vaadin.Application;
import com.vaadin.Application.ApplicationStartEvent;
import com.vaadin.Application.SystemMessages;
"Failed to find out last modified timestamp. Continuing without it.",
e);
} finally {
- if (connection instanceof FileURLConnection) {
+ if (connection instanceof URLConnection) {
try {
// Explicitly close the input stream to prevent it
// from remaining hanging
}
} catch (IOException e) {
logger.log(Level.INFO,
- "Error closing FileURLConnection input stream", e);
+ "Error closing URLConnection input stream", e);
}
}
}