(URL u, File destFile, File tempDir, boolean requireHttps, boolean requireFingerprintMatch)
| 155 | } |
| 156 | |
| 157 | public static boolean update(URL u, File destFile, File tempDir, boolean requireHttps, boolean requireFingerprintMatch) throws IOException, HttpsRequiredException, FingerprintChangedException { |
| 158 | return update(u, destFile, tempDir, requireHttps, requireFingerprintMatch, false); |
| 159 | } |
| 160 | |
| 161 | public static boolean update(URL u, File destFile, File tempDir, boolean requireHttps, boolean requireFingerprintMatch, boolean forceCheck) throws IOException, HttpsRequiredException, FingerprintChangedException { |
| 162 | if (destFile.exists() && "github.com".equals(u.getHost()) && u.getPath().contains("/releases/download/")) { |
no test coverage detected