Added missing instanceNumber parameter to String.format() call in toString()
Added explicit call to component.toString() so intellij can print component name
This commit is contained in:
parent
b620360da0
commit
efe0d9e28d
@ -36,7 +36,7 @@ public class InstanceContext {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("Context for %s #%d", component);
|
||||
return String.format("Context for %s #%d", component.toString(), instanceNumber);
|
||||
}
|
||||
|
||||
public Coordinate getLocation() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user