summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/common/Resource.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-27 12:47:51 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:02:59 +0200
commit1c78531915457b505af81c22d43975950e6c08fe (patch)
tree8b73d551af2b7db4c3e4045464fd52ae9f376487 /wizards/com/sun/star/wizards/common/Resource.java
parent34643facd763f427b300590df90bdda5bfd26d61 (diff)
Java5 update - convert collections classes to use generics
Change-Id: Ia2e92ea7c5da3ef6e7235b724a82d28d0e562541
Diffstat (limited to 'wizards/com/sun/star/wizards/common/Resource.java')
-rw-r--r--wizards/com/sun/star/wizards/common/Resource.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/common/Resource.java b/wizards/com/sun/star/wizards/common/Resource.java
index 89033d3086d3..787df1bec3f3 100644
--- a/wizards/com/sun/star/wizards/common/Resource.java
+++ b/wizards/com/sun/star/wizards/common/Resource.java
@@ -54,15 +54,15 @@ public class Resource
aArgs);
if (xResource == null)
throw new Exception("could not initialize ResourceIndexAccess");
- XNameAccess xNameAccess = (XNameAccess)UnoRuntime.queryInterface(
+ XNameAccess xNameAccess = UnoRuntime.queryInterface(
XNameAccess.class,
xResource);
if (xNameAccess == null)
throw new Exception("ResourceIndexAccess is no XNameAccess");
- this.xStringIndexAccess = (XIndexAccess)UnoRuntime.queryInterface(
+ this.xStringIndexAccess = UnoRuntime.queryInterface(
XIndexAccess.class,
xNameAccess.getByName("String"));
- this.xStringListIndexAccess = (XIndexAccess)UnoRuntime.queryInterface(
+ this.xStringListIndexAccess = UnoRuntime.queryInterface(
XIndexAccess.class,
xNameAccess.getByName("StringList"));
if(this.xStringListIndexAccess == null)