mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 10:16:16 +01:00
Start entity types with a capital char
This commit is contained in:
@@ -85,7 +85,7 @@ public class FileHistoryRootResource {
|
||||
} else {
|
||||
String message = String.format("for the revision %s and the file %s there are no changesets", revision, path);
|
||||
log.error(message);
|
||||
throw notFound(entity("path", path).in("revision", revision).in(namespaceAndName));
|
||||
throw notFound(entity("Path", path).in("revision", revision).in(namespaceAndName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -258,7 +258,7 @@ public class RepositoryPermissionRootResource {
|
||||
*/
|
||||
private void checkPermissionAlreadyExists(RepositoryPermissionDto permission, Repository repository) {
|
||||
if (isPermissionExist(permission, repository)) {
|
||||
throw alreadyExists(entity("permission", permission.getName()).in(repository));
|
||||
throw alreadyExists(entity("Permission", permission.getName()).in(repository));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ public class SourceRootResource {
|
||||
if (browserResult != null) {
|
||||
return Response.ok(browserResultToFileObjectDtoMapper.map(browserResult, namespaceAndName)).build();
|
||||
} else {
|
||||
throw notFound(entity("sources", path).in(namespaceAndName));
|
||||
throw notFound(entity("Source", path).in(namespaceAndName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user