summaryrefslogtreecommitdiff
path: root/xmerge
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 09:25:49 +0200
committerNoel Grandin <noel@peralex.com>2014-08-20 10:35:52 +0200
commit188af1e56e3280ea4446e694cfc5c2b4abbe8c3b (patch)
tree58a584924f749e52e841e46a03ae767c3b1b0f45 /xmerge
parentccbb51ad968fb7cbd41a5a2df1766a1f205c8b1d (diff)
no need to instantiate an object to get it's class
Change-Id: I7b1f8d4621a3db9094bb61753218db3646c33e34
Diffstat (limited to 'xmerge')
-rw-r--r--xmerge/source/xmerge/java/org/openoffice/xmerge/util/Debug.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/Debug.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/Debug.java
index 155c37e6f9bd..7e13cd678792 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/Debug.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/Debug.java
@@ -57,8 +57,7 @@ public final class Debug {
try {
- Class<? extends Debug> c = new Debug().getClass();
- InputStream is = c.getResourceAsStream("Debug.properties");
+ InputStream is = Debug.class.getResourceAsStream("Debug.properties");
Properties props = new Properties();
props.load(is);