fix Java 8
This commit is contained in:
parent
9feb092c06
commit
592cc62d92
1 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,9 @@ public class ViewDAOImpl implements ViewDAO {
|
|||
.stream()
|
||||
.filter(view -> view.getName().equals(defView.getName()))
|
||||
.findFirst()
|
||||
.orElseThrow();
|
||||
.orElseThrow(() -> new ResourceNotFoundException(
|
||||
EntityType.VIEW,
|
||||
String.valueOf(templateId) + ":" + defaultViewId));
|
||||
|
||||
return result;
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue