mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 08:39:24 +01:00
checkstyle corrections
Former-commit-id: 7a96e04aeb874f27248375b47ad7d1f0aee6b8dc
This commit is contained in:
@@ -170,7 +170,7 @@ public class NexusSearch {
|
|||||||
public boolean preflightRequest() {
|
public boolean preflightRequest() {
|
||||||
HttpURLConnection conn;
|
HttpURLConnection conn;
|
||||||
try {
|
try {
|
||||||
URL url = new URL(rootURL, "status");
|
final URL url = new URL(rootURL, "status");
|
||||||
conn = URLConnectionFactory.createHttpURLConnection(url, useProxy);
|
conn = URLConnectionFactory.createHttpURLConnection(url, useProxy);
|
||||||
conn.addRequestProperty("Accept", "application/xml");
|
conn.addRequestProperty("Accept", "application/xml");
|
||||||
conn.connect();
|
conn.connect();
|
||||||
|
|||||||
Reference in New Issue
Block a user