Skip to content

Commit dec00ab

Browse files
committed
Dumper: delete an unnecessary cast
1 parent 117ec02 commit dec00ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • HeartLibrary/src/main/java/jme3utilities/debug

HeartLibrary/src/main/java/jme3utilities/debug/Dumper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2013-2020, Stephen Gold
2+
Copyright (c) 2013-2021, Stephen Gold
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -817,7 +817,7 @@ protected void dump(AppState appState, String indent) {
817817
stream.print(className);
818818

819819
if (appState instanceof AbstractAppState) {
820-
String id = ((AbstractAppState) appState).getId();
820+
String id = appState.getId();
821821
if (id != null) {
822822
stream.print(" id=");
823823
stream.print(id);

0 commit comments

Comments
 (0)