I'm trying to rid our old code of these System/Security statements:
If I have code that casts an https
URLConnection to an
HttpUrlConnection, is that security stuff even used? In other words, would anything change if I removed the
URL url = new URL("https://www.google.com");
HttpURLConnection con = (HttpURLConnection) url.openConnection();
The code is currently running on Java 1.5 (soon to be updated to Java 8), and I think the code was written back when it was running Java 1.3.