Remove redundant synchronized keyword

If the other 2 public methods don't need it, then I reckon this one doesn't.
This commit is contained in:
Dave Syer
2018-11-16 10:54:14 +00:00
committed by GitHub
parent 536654bc44
commit 585195d995

View File

@@ -127,7 +127,7 @@ public class ResourceController {
}
@RequestMapping(value = "/{name}/{profile}/{label}/**", produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
public synchronized byte[] binary(@PathVariable String name,
public byte[] binary(@PathVariable String name,
@PathVariable String profile, @PathVariable String label,
HttpServletRequest request) throws IOException {
String path = getFilePath(request, name, profile, label);