diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-17 11:15:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-19 10:41:57 +0200 |
commit | 0ae24c2189ea68576c96fcbe87299b51256cb468 (patch) | |
tree | 1f9c4b01d96be5fbf026f57352a57cdb291131bc /toolkit/test | |
parent | java: dead code (diff) | |
download | core-0ae24c2189ea68576c96fcbe87299b51256cb468.tar.gz core-0ae24c2189ea68576c96fcbe87299b51256cb468.zip |
java: fix access to always null field
this cannot have ever worked, but at least it'll stop bugging me now
Change-Id: Idd9738358d18770258ca0648afe4b9256458a4d6
Diffstat (limited to 'toolkit/test')
-rw-r--r-- | toolkit/test/accessibility/TextLogger.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/toolkit/test/accessibility/TextLogger.java b/toolkit/test/accessibility/TextLogger.java index fde7488a6eda..952d14015973 100644 --- a/toolkit/test/accessibility/TextLogger.java +++ b/toolkit/test/accessibility/TextLogger.java @@ -19,7 +19,6 @@ import javax.swing.JEditorPane; import javax.swing.event.HyperlinkListener; import javax.swing.event.HyperlinkEvent; -import javax.swing.text.Document; class TextLogger extends JEditorPane @@ -52,11 +51,9 @@ class TextLogger { try { - maDocument.insertString (maDocument.getLength(), sText, null); + getDocument().insertString (getDocument().getLength(), sText, null); } catch (javax.swing.text.BadLocationException e) {} } - - private Document maDocument; } |