[Minor] code cleanup

This commit is contained in:
Robert von Burg 2022-07-06 17:14:44 +02:00
parent 23191adfae
commit fb2fd390b9
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 2 additions and 2 deletions

View File

@ -26,12 +26,12 @@ import li.strolch.model.activity.Activity;
public interface ResourceVisitor<U> extends StrolchRootElementVisitor<U> {
@Override
public default U visitActivity(Activity activity) {
default U visitActivity(Activity activity) {
throw new UnsupportedOperationException(getClass().getName() + " can not handle " + activity.getClass());
}
@Override
public default U visitOrder(Order order) {
default U visitOrder(Order order) {
throw new UnsupportedOperationException(getClass().getName() + " can not handle " + order.getClass());
}
}