Remove unnecessary semicolon

This commit is contained in:
tiqwab
2018-07-08 12:03:58 +09:00
parent 5e92815f96
commit 4512da7c03
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ abstract class ControllerBase
super.doFilter(request, response, chain)
}
} finally {
contextCache.remove();
contextCache.remove()
}
private val contextCache = new java.lang.ThreadLocal[Context]()

View File

@@ -1228,7 +1228,7 @@ trait RepositoryViewerControllerBase extends ControllerBase {
s"attachment; filename=${repository.name}-${branch}${suffix}.zip"
)
contentType = "application/octet-stream"
response.setBufferSize(1024 * 1024);
response.setBufferSize(1024 * 1024)
using(new ZipArchiveOutputStream(response.getOutputStream)) { zip =>
archive(".zip", zip) { (path, size, mode) =>
val entry = new ZipArchiveEntry(path)