Skip to content

Commit b0eac0c

Browse files
committed
Fix BreadcrumbUtils imports
1 parent 804f7c0 commit b0eac0c

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

roda-ui/roda-wui/src/main/java/org/roda/wui/client/main/BreadcrumbUtils.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@
1919
import org.roda.core.data.v2.ip.IndexedFile;
2020
import org.roda.core.data.v2.ip.IndexedRepresentation;
2121
import org.roda.core.data.v2.ip.TransferredResource;
22+
import org.roda.core.data.v2.notifications.Notification;
2223
import org.roda.core.data.v2.user.RODAMember;
2324
import org.roda.core.data.v2.log.LogEntry;
2425
import org.roda.core.data.v2.ri.RepresentationInformation;
2526
import org.roda.core.data.v2.risks.IndexedRisk;
2627
import org.roda.wui.client.browse.BrowseTop;
28+
import org.roda.wui.client.management.NotificationRegister;
2729
import org.roda.wui.client.management.ShowLogEntry;
30+
import org.roda.wui.client.management.ShowNotification;
2831
import org.roda.wui.client.management.UserLog;
2932
import org.roda.wui.client.browse.PreservationEvents;
3033
import org.roda.wui.client.disposal.DisposalDestroyedRecords;
@@ -367,8 +370,8 @@ public static List<BreadcrumbItem> getTransferredResourceBreadcrumbs(Transferred
367370

368371
public static List<BreadcrumbItem> getLogEntryBreadcrumbs(LogEntry logEntry) {
369372
List<BreadcrumbItem> ret = new ArrayList<>();
370-
ret.add(new BreadcrumbItem(SafeHtmlUtils.fromSafeConstant(messages.activityLogTitle()),
371-
messages.activityLogTitle(), UserLog.RESOLVER.getHistoryPath()));
373+
ret.add(new BreadcrumbItem(SafeHtmlUtils.fromSafeConstant(messages.activityLogTitle()), messages.activityLogTitle(),
374+
UserLog.RESOLVER.getHistoryPath()));
372375

373376
if (logEntry != null) {
374377
List<String> path = new ArrayList<>(ShowLogEntry.RESOLVER.getHistoryPath());
@@ -395,12 +398,10 @@ public static List<BreadcrumbItem> getNotificationBreadcrumbs(Notification notif
395398
return ret;
396399
}
397400

398-
public static List<BreadcrumbItem> getRepresentationInformationBreadCrumbs(RepresentationInformation ri){
401+
public static List<BreadcrumbItem> getRepresentationInformationBreadCrumbs(RepresentationInformation ri) {
399402
List<BreadcrumbItem> ret = new ArrayList<>();
400-
ret.add(new BreadcrumbItem(
401-
SafeHtmlUtils.fromSafeConstant(messages.representationInformationTitle()),
402-
messages.representationInformationTitle(),
403-
RepresentationInformationNetwork.RESOLVER.getHistoryPath()));
403+
ret.add(new BreadcrumbItem(SafeHtmlUtils.fromSafeConstant(messages.representationInformationTitle()),
404+
messages.representationInformationTitle(), RepresentationInformationNetwork.RESOLVER.getHistoryPath()));
404405

405406
if (ri != null) {
406407
List<String> path = new ArrayList<>(ShowRepresentationInformation.RESOLVER.getHistoryPath());
@@ -513,8 +514,8 @@ private static SafeHtml getBreadcrumbLabel(IndexedAIP aip) {
513514

514515
public static List<BreadcrumbItem> getRODAMemberBreadcrumbs(RODAMember user) {
515516
List<BreadcrumbItem> ret = new ArrayList<>();
516-
ret.add(new BreadcrumbItem(SafeHtmlUtils.fromSafeConstant(messages.usersAndGroupsTitle()), messages.usersAndGroupsTitle(),
517-
MemberManagement.RESOLVER.getHistoryPath()));
517+
ret.add(new BreadcrumbItem(SafeHtmlUtils.fromSafeConstant(messages.usersAndGroupsTitle()),
518+
messages.usersAndGroupsTitle(), MemberManagement.RESOLVER.getHistoryPath()));
518519

519520
if (user != null) {
520521
List<String> path = new ArrayList<>(ShowMember.RESOLVER.getHistoryPath());

0 commit comments

Comments
 (0)