summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 11:36:04 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:22 +0200
commitda677dfd59c2b551f3335ee0a5d5dfb33f9869c5 (patch)
tree9aa09066c95935117bf405b119ed9f89f448a54d /bean/com/sun/star/comp
parent14d1a11ec4a7ed0deeac522403248536e8d23f57 (diff)
java: reduce scope, make fields private
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
Diffstat (limited to 'bean/com/sun/star/comp')
-rw-r--r--bean/com/sun/star/comp/beans/JavaWindowPeerFake.java4
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java4
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java6
3 files changed, 7 insertions, 7 deletions
diff --git a/bean/com/sun/star/comp/beans/JavaWindowPeerFake.java b/bean/com/sun/star/comp/beans/JavaWindowPeerFake.java
index 7bcfa7ada7ff..24679934cf33 100644
--- a/bean/com/sun/star/comp/beans/JavaWindowPeerFake.java
+++ b/bean/com/sun/star/comp/beans/JavaWindowPeerFake.java
@@ -28,8 +28,8 @@ import com.sun.star.awt.*;
class JavaWindowPeerFake
implements XSystemDependentWindowPeer, XWindowPeer
{
- protected int localSystemType;
- protected Any wrappedHandle;
+ private int localSystemType;
+ private Any wrappedHandle;
/** Create the faked window peer.
* @param _hWindow the system handle to the window.
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index f9e5d50cd3e1..9fb9452d8610 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -729,8 +729,8 @@ public class LocalOfficeConnection
class StreamProcessor extends Thread
{
- java.io.InputStream m_in;
- java.io.PrintStream m_print;
+ private java.io.InputStream m_in;
+ private java.io.PrintStream m_print;
private StreamProcessor(final java.io.InputStream in, final java.io.PrintStream out)
{
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 5e5e933fcebe..b81517355313 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -40,9 +40,9 @@ public class OOoBean
java.io.Externalizable
{
// timeout values (milli secs)
- int nOOoStartTimeOut = 60000;
- int nOOoCallTimeOut = 3000;
- int nOOoCheckCycle = 1000;
+ private int nOOoStartTimeOut = 60000;
+ private int nOOoCallTimeOut = 3000;
+ private int nOOoCheckCycle = 1000;
// This member contains the connection to an OOo instance if established.
private transient OfficeConnection iConnection;