diff options
author | Alexander Kurtakov | 2019-02-11 21:40:51 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2019-02-12 10:14:27 +0000 |
commit | ff508f4576e41ccc0fd4f0ed417e5320572fdb76 (patch) | |
tree | c34d41d41310cab1d2778a18d122a95aeff23255 /org.eclipse.help.base | |
parent | be07c17efd7df789819ac96dc4d99fd2e54c9ccb (diff) | |
download | eclipse.platform.ua-ff508f4576e41ccc0fd4f0ed417e5320572fdb76.tar.gz eclipse.platform.ua-ff508f4576e41ccc0fd4f0ed417e5320572fdb76.tar.xz eclipse.platform.ua-ff508f4576e41ccc0fd4f0ed417e5320572fdb76.zip |
Varargs reflection methods and try-with-resources.
Change-Id: Ib1f5311b9a5f7fde578129b96613fbeacfe0a0c0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.help.base')
-rw-r--r-- | org.eclipse.help.base/src/org/eclipse/help/internal/base/DisplayUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/base/DisplayUtils.java b/org.eclipse.help.base/src/org/eclipse/help/internal/base/DisplayUtils.java index 5e1c71963..0b9620fbf 100644 --- a/org.eclipse.help.base/src/org/eclipse/help/internal/base/DisplayUtils.java +++ b/org.eclipse.help.base/src/org/eclipse/help/internal/base/DisplayUtils.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. + * Copyright (c) 2000, 2019 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -44,8 +44,8 @@ public class DisplayUtils { return; } Class<?> c = bundle.loadClass(LOOP_CLASS_NAME); - Method m = c.getMethod(method, new Class[]{}); - m.invoke(null, new Object[]{}); + Method m = c.getMethod(method); + m.invoke(null); } catch (Exception e) { } } |