You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/09/12 14:46:59 UTC
(commons-scxml) 25/30: Remove redundant syntax
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-scxml.git
commit 43c69eed419347f1f53fd088789bafea57c3154e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Sep 12 10:45:03 2024 -0400
Remove redundant syntax
---
src/test/java/org/apache/commons/scxml2/env/StopWatchDisplay.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/scxml2/env/StopWatchDisplay.java b/src/test/java/org/apache/commons/scxml2/env/StopWatchDisplay.java
index 134cecb2..a142371a 100644
--- a/src/test/java/org/apache/commons/scxml2/env/StopWatchDisplay.java
+++ b/src/test/java/org/apache/commons/scxml2/env/StopWatchDisplay.java
@@ -51,7 +51,7 @@ public class StopWatchDisplay extends JFrame
@Override
public void paintComponent(final Graphics g) {
if (watchImage != null) {
- g.drawImage(watchImage, 0, 0, this.getWidth(), this.getHeight(), this);
+ g.drawImage(watchImage, 0, 0, getWidth(), getHeight(), this);
}
}
}