summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Components
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Components')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java2
-rw-r--r--odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java2
-rw-r--r--odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
index 239296cc30e5..a969253bc9c4 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
@@ -68,7 +68,7 @@ public class ProtocolHandlerAddon {
/** The component context, that gives access to the service manager and all registered services.
*/
- private XComponentContext m_xCmpCtx;
+ private final XComponentContext m_xCmpCtx;
/** The toolkit, that we can create UNO dialogs.
*/
diff --git a/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java b/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java
index 15589707be4d..cf28e4c5ae86 100644
--- a/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java
+++ b/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java
@@ -43,7 +43,7 @@ import com.sun.star.uno.Type;
public class TestComponentB implements XTypeProvider, XServiceInfo, XSomethingB {
static final String __serviceName= "com.sun.star.test.SomethingB";
- private Object[] args;
+ private final Object[] args;
public TestComponentB(XComponentContext context, Object[] args) {
this.args= args;
diff --git a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
index e184400d8fb9..083347cb69b9 100644
--- a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
+++ b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
@@ -71,7 +71,7 @@ public class DialogComponent {
private static final String __serviceName= "com.sun.star.test.TestDialogHandler";
- private XComponentContext m_xCmpCtx;
+ private final XComponentContext m_xCmpCtx;
private XFrame m_xFrame;
private XToolkit m_xToolkit;