Browse Source

Implement toString for EmptyIcon

pull/336/head
Jannis Weis 2 years ago
parent
commit
1fcef71820
No known key found for this signature in database
GPG Key ID: 7C9D8D4B558049AB
  1. 10
      property-loader/src/main/java/com/github/weisj/darklaf/properties/icons/EmptyIcon.java

10
property-loader/src/main/java/com/github/weisj/darklaf/properties/icons/EmptyIcon.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2021 Jannis Weis
* Copyright (c) 2019-2023 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -89,4 +89,12 @@ public final class EmptyIcon implements Icon, UIResource {
return this.height == icon.height && this.width == icon.width;
}
}
@Override
public String toString() {
return "EmptyIcon{" +
"width=" + width +
", height=" + height +
'}';
}
}

Loading…
Cancel
Save