diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-10 15:36:24 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-12-11 06:09:03 +0000 |
commit | 7557f23b31dcfb4d86c122bb34d9675c0db9a694 (patch) | |
tree | 5feb7be2b0841d8ee60d935cf2e29e9a01a31a27 /bean/qa/complex | |
parent | 808fd5fbd8868dfd95c8a38676815798fa2b79c4 (diff) |
java: reduce visibility of fields and methods
found by PMD
Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6
Reviewed-on: https://gerrit.libreoffice.org/13409
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bean/qa/complex')
-rw-r--r-- | bean/qa/complex/bean/OOoBeanTest.java | 4 | ||||
-rw-r--r-- | bean/qa/complex/bean/WriterFrame.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java index 141f63d0ddc9..22c5fb4d901d 100644 --- a/bean/qa/complex/bean/OOoBeanTest.java +++ b/bean/qa/complex/bean/OOoBeanTest.java @@ -651,9 +651,9 @@ public class OOoBeanTest } } - class BeanPanel extends Panel + private class BeanPanel extends Panel { - public BeanPanel(OOoBean b) + private BeanPanel(OOoBean b) { setLayout(new BorderLayout()); add(b, BorderLayout.CENTER); diff --git a/bean/qa/complex/bean/WriterFrame.java b/bean/qa/complex/bean/WriterFrame.java index 9c0eb7d6c98d..77f1959c98f0 100644 --- a/bean/qa/complex/bean/WriterFrame.java +++ b/bean/qa/complex/bean/WriterFrame.java @@ -146,7 +146,7 @@ class WriterFrame extends java.awt.Frame return rc; } - public Rectangle getUnoFramePosition() throws Exception + private Rectangle getUnoFramePosition() throws Exception { com.sun.star.awt.XWindow win = m_bean.getFrame().getContainerWindow(); com.sun.star.awt.Rectangle rect = win.getPosSize(); |