summaryrefslogtreecommitdiff
path: root/reportdesign/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-07 09:42:15 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-10 23:43:37 +0200
commita5ff5aad59bbe70cfaa0b18ec9df6f787a7160ca (patch)
tree6313b316dc96b82e5cafec866631d15b01a04e52 /reportdesign/qa
parente3d9ff3fd0b753a6712e86703e5f69392d241508 (diff)
Java5 update, Convert ArrayList and Vector code to use generics
Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
Diffstat (limited to 'reportdesign/qa')
-rw-r--r--reportdesign/qa/complex/reportdesign/ReportDesignerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java b/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
index 531c6a33d4a3..7ae14692f619 100644
--- a/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
+++ b/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
@@ -99,7 +99,7 @@ class PropertyHelper
@param _aArrayList
@return a PropertyValue[]
*/
- public static PropertyValue[] createPropertyValueArrayFormArrayList(ArrayList _aPropertyList)
+ public static PropertyValue[] createPropertyValueArrayFormArrayList(ArrayList<PropertyValue> _aPropertyList)
{
// copy the whole PropertyValue List to an PropertyValue Array
PropertyValue[] aSaveProperties = null;
@@ -385,7 +385,7 @@ public class ReportDesignerTest
// sSpecial);
}
- private void loadAndStoreReports(XNameAccess _xNameAccess, ArrayList _aPropertyList, int _nType)
+ private void loadAndStoreReports(XNameAccess _xNameAccess, ArrayList<PropertyValue> _aPropertyList, int _nType)
{
if (_xNameAccess != null)
{
@@ -501,7 +501,7 @@ public class ReportDesignerTest
}
}
- private XComponent loadComponent(String _sName, Object _xComponent, ArrayList _aPropertyList)
+ private XComponent loadComponent(String _sName, Object _xComponent, ArrayList<PropertyValue> _aPropertyList)
{
XComponent xDocComponent = null;
XComponentLoader xComponentLoader = UnoRuntime.queryInterface(XComponentLoader.class, _xComponent);