summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Charts
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Charts')
-rw-r--r--odk/examples/DevelopersGuide/Charts/CalcHelper.java2
-rw-r--r--odk/examples/DevelopersGuide/Charts/ChartHelper.java2
-rw-r--r--odk/examples/DevelopersGuide/Charts/ChartInCalc.java4
-rw-r--r--odk/examples/DevelopersGuide/Charts/ChartInDraw.java4
-rw-r--r--odk/examples/DevelopersGuide/Charts/ChartInWriter.java4
-rw-r--r--odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java6
-rw-r--r--odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java6
7 files changed, 14 insertions, 14 deletions
diff --git a/odk/examples/DevelopersGuide/Charts/CalcHelper.java b/odk/examples/DevelopersGuide/Charts/CalcHelper.java
index 50364bdc0fbd..242e7676853d 100644
--- a/odk/examples/DevelopersGuide/Charts/CalcHelper.java
+++ b/odk/examples/DevelopersGuide/Charts/CalcHelper.java
@@ -342,7 +342,7 @@ public class CalcHelper
private static final String msDataSheetName = "Data";
private static final String msChartSheetName = "Chart";
- private XSpreadsheetDocument maSpreadSheetDoc;
+ private final XSpreadsheetDocument maSpreadSheetDoc;
diff --git a/odk/examples/DevelopersGuide/Charts/ChartHelper.java b/odk/examples/DevelopersGuide/Charts/ChartHelper.java
index 043635fe169e..1a79560fa94b 100644
--- a/odk/examples/DevelopersGuide/Charts/ChartHelper.java
+++ b/odk/examples/DevelopersGuide/Charts/ChartHelper.java
@@ -237,5 +237,5 @@ public class ChartHelper
private static final String msChartClassID = "12dcae26-281f-416f-a234-c3086127382e";
- private XModel maContainerDocument;
+ private final XModel maContainerDocument;
}
diff --git a/odk/examples/DevelopersGuide/Charts/ChartInCalc.java b/odk/examples/DevelopersGuide/Charts/ChartInCalc.java
index 76791e3bb9f9..ed55332e6128 100644
--- a/odk/examples/DevelopersGuide/Charts/ChartInCalc.java
+++ b/odk/examples/DevelopersGuide/Charts/ChartInCalc.java
@@ -409,6 +409,6 @@ public class ChartInCalc
// private members
- private XChartDocument maChartDocument;
- private XDiagram maDiagram;
+ private final XChartDocument maChartDocument;
+ private final XDiagram maDiagram;
}
diff --git a/odk/examples/DevelopersGuide/Charts/ChartInDraw.java b/odk/examples/DevelopersGuide/Charts/ChartInDraw.java
index 19e4855461e5..eec3be116244 100644
--- a/odk/examples/DevelopersGuide/Charts/ChartInDraw.java
+++ b/odk/examples/DevelopersGuide/Charts/ChartInDraw.java
@@ -286,6 +286,6 @@ public class ChartInDraw
// private members
- private XChartDocument maChartDocument;
- private XDiagram maDiagram;
+ private final XChartDocument maChartDocument;
+ private final XDiagram maDiagram;
}
diff --git a/odk/examples/DevelopersGuide/Charts/ChartInWriter.java b/odk/examples/DevelopersGuide/Charts/ChartInWriter.java
index 124616db46be..940a8cfc056b 100644
--- a/odk/examples/DevelopersGuide/Charts/ChartInWriter.java
+++ b/odk/examples/DevelopersGuide/Charts/ChartInWriter.java
@@ -155,6 +155,6 @@ public class ChartInWriter
// private members
- private XChartDocument maChartDocument;
- private XDiagram maDiagram;
+ private final XChartDocument maChartDocument;
+ private final XDiagram maDiagram;
}
diff --git a/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java b/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
index 48108d8b21d1..36e7b3e4ec92 100644
--- a/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
+++ b/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
@@ -184,7 +184,7 @@ public class ListenAtCalcRangeInDraw implements XChartDataChangeEventListener
// __________ private __________
- private XSpreadsheetDocument maSheetDoc;
- private XChartDocument maChartDocument;
- private XChartData maChartData;
+ private final XSpreadsheetDocument maSheetDoc;
+ private final XChartDocument maChartDocument;
+ private final XChartData maChartData;
}
diff --git a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
index 9cfeb9e81f1f..190f8214fb03 100644
--- a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
+++ b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
@@ -177,7 +177,7 @@ public class SelectionChangeListener implements XSelectionChangeListener {
// __________ private __________
private class MyMessageBox extends Thread{
- private XMultiComponentFactory mMCF;
+ private final XMultiComponentFactory mMCF;
public MyMessageBox(XMultiComponentFactory xMCF){
mMCF = xMCF;
@@ -212,6 +212,6 @@ public class SelectionChangeListener implements XSelectionChangeListener {
}
}
- private XChartDocument maChartDocument;
- private XComponentContext maContext;
+ private final XChartDocument maChartDocument;
+ private final XComponentContext maContext;
}