diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:15:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:22 +0200 |
commit | 14d1a11ec4a7ed0deeac522403248536e8d23f57 (patch) | |
tree | 6a976bf53992c68a46472199e5fb494339899ae6 /framework | |
parent | cd0bbdaf379d646c94e6771f3358d7e3a8f206ad (diff) |
java: reduce scope, make constructors private
found by UCDetector
Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qa/complex/framework/autosave/AutoSave.java | 2 | ||||
-rw-r--r-- | framework/qa/complex/framework/autosave/Protocol.java | 2 | ||||
-rw-r--r-- | framework/qa/complex/imageManager/_XComponent.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java index 4ca6eda2a26b..d82f97363125 100644 --- a/framework/qa/complex/framework/autosave/AutoSave.java +++ b/framework/qa/complex/framework/autosave/AutoSave.java @@ -68,7 +68,7 @@ public class AutoSave private URL m_aRegistration; private Protocol m_aLog; - public AutoSaveListener(XMultiServiceFactory xSMGR , + private AutoSaveListener(XMultiServiceFactory xSMGR , XDispatch xAutoSave, Protocol aLog ) { diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index bcf3d40a0544..c985a951c1b2 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -170,7 +170,7 @@ public class Protocol extends JComponent private Timestamp m_aStamp; /** ctor for fast initializing of such line */ - public ProtocolLine( long nLine , + private ProtocolLine( long nLine , long nScope , int nType , String sMessage ) diff --git a/framework/qa/complex/imageManager/_XComponent.java b/framework/qa/complex/imageManager/_XComponent.java index 3f1445e72b44..e1051d28ab56 100644 --- a/framework/qa/complex/imageManager/_XComponent.java +++ b/framework/qa/complex/imageManager/_XComponent.java @@ -51,7 +51,7 @@ public class _XComponent { public class MyEventListener implements XEventListener { int number = 0; String message = null; - public MyEventListener(int number, String message) { + private MyEventListener(int number, String message) { this.message = message; this.number = number; } |