Commits

John Paulett committed 81417bf

Make the response variable, which never changes, final.

Comments (0)

Files changed (1)

src/main/java/org/nrg/dcm/edit/fn/GetURL.java

 
 	private String request(final String url) throws ScriptEvaluationException {
 		try {
-			String response = getHttpClient().request(new URL(url));
+			final String response = getHttpClient().request(new URL(url));
 			if (response == null) {
 				throw new ScriptEvaluationException("Empty response from external webservice, " + url);
 			}