Skip to content

Commit

Permalink
Reuse variable
Browse files Browse the repository at this point in the history
  • Loading branch information
datazuul committed Aug 8, 2023
1 parent feac698 commit 92e5998
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ public String doForward(Identifiable identifiable, Model model) throws Technical
case WORK:
return "forward:/works/" + uuid;
default:
throw new TechnicalException(
"Unhandled object type " + identifiable.getIdentifiableObjectType());
throw new TechnicalException("Unhandled object type " + identifiableObjectType);
}
}
}

0 comments on commit 92e5998

Please sign in to comment.