checkstyle correction

Former-commit-id: a517ce0a86a30e5ffdf1edfa80958d016fe98f56
This commit is contained in:
Jeremy Long
2014-12-27 07:39:55 -05:00
parent 4deeb33f08
commit d8299f7db1

View File

@@ -124,11 +124,11 @@ public final class Downloader {
writer.write(buffer, 0, bytesRead);
}
} catch (IOException ex) {
String msg = String.format("Error saving '%s' to file '%s'%nConnection Timeout: %d%nEncoding: %s%n",
final String msg = String.format("Error saving '%s' to file '%s'%nConnection Timeout: %d%nEncoding: %s%n",
url.toString(), outputPath.getAbsolutePath(), conn.getConnectTimeout(), encoding);
throw new DownloadFailedException(msg, ex);
} catch (Throwable ex) {
String msg = String.format("Unexpected exception saving '%s' to file '%s'%nConnection Timeout: %d%nEncoding: %s%n",
final String msg = String.format("Unexpected exception saving '%s' to file '%s'%nConnection Timeout: %d%nEncoding: %s%n",
url.toString(), outputPath.getAbsolutePath(), conn.getConnectTimeout(), encoding);
throw new DownloadFailedException(msg, ex);
} finally {