Skip to content

Commit

Permalink
fixed line lenths for checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Keelhaul committed Mar 6, 2025
1 parent d545bf9 commit 038fc3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public String getRssFeed(
@QueryParam("sortDescending") Boolean sortDescending)
throws ContentLibException {

return RSSFeed.createRssFeedString(language, maxHits, subtheme, query, facets, servletRequest, sortField, sortDescending == null || sortDescending);
return RSSFeed.createRssFeedString(language, maxHits, subtheme, query, facets, servletRequest, sortField, sortDescending == null
|| sortDescending);
}

@GET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ public ImageInformation getImageInformation(PhysicalElement page, PageType pageT
if (fileUri.getScheme() != null && fileUri.getScheme().matches("^http.*")) {
if (width * height == 0) {
return new ImageInformation(fileUri); //no internal size information. return external url
} else {
apiUri = fileUri; //use external url as if for internal imageInformation
}
apiUri = fileUri; //use external url as if for internal imageInformation
} else {
apiUri = urls.path(ApiUrls.RECORDS_FILES_IMAGE).params(page.getPi(), PathConverter.getPath(fileUri).getFileName().toString()).buildURI(); //create interl imageInformation uri
//create interl imageInformation uri
apiUri = urls.path(ApiUrls.RECORDS_FILES_IMAGE).params(page.getPi(), PathConverter.getPath(fileUri).getFileName().toString()).buildURI();
}

Map<Integer, List<Integer>> tileSizes = DataManager.getInstance().getConfiguration().getTileSizes(pageType, page.getMimeType());
Expand Down

0 comments on commit 038fc3f

Please sign in to comment.