Skip to content

Commit

Permalink
replace isInstance with instanceof
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannMaierhofer committed Jan 20, 2024
1 parent a947ade commit d8cebbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void handleAction(Object context) throws ApplicationException
}
catch (Exception e)
{
if (!e.getClass().isInstance(new OperationCanceledException()))
if (!(e instanceof OperationCanceledException))
{
Logger.error("Fehler", e);
GUI.getStatusBar()
Expand Down

0 comments on commit d8cebbf

Please sign in to comment.