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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user