summaryrefslogtreecommitdiff
path: root/connectivity/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-28 15:12:07 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:03:03 +0200
commit745d361b49c3733631caa5bee4e2ed9cec09347b (patch)
treea94b5209487f264cad4ecc360a622aafcf3626a7 /connectivity/com
parent0dae234811f1990b261474791d1a852c55666e4a (diff)
Java5 update - use generics where appropriate
Change-Id: I2e679fa3b8148f1ff0d1ebfa2e105b99f18d39cf
Diffstat (limited to 'connectivity/com')
-rw-r--r--connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java
index 42781d4a425a..db3d5f185ff8 100644
--- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java
+++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java
@@ -49,14 +49,14 @@ final class NativeLibraries {
if (url != null) {
try {
System.load(
- ((File) File.class.getConstructor(
+ File.class.getConstructor(
new Class[] {
ClassLoader.getSystemClassLoader().
loadClass("java.net.URI") }).
newInstance(
new Object[] {
URL.class.getMethod("toURI", new Class[0]).
- invoke(url, (java.lang.Object[])null) })).
+ invoke(url, (java.lang.Object[])null) }).
getAbsolutePath());
} catch (Throwable t) {
throw new UnsatisfiedLinkError(