diff options
author | Robert Antoni Buj i Gelonch <robert.buj@gmail.com> | 2014-09-16 18:25:16 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-09-17 06:12:24 +0000 |
commit | 804e0335fbcc9758ef36a207c5e95664972d31f9 (patch) | |
tree | 91efc7d015797802a1bf79bfa3013c3eac4251a8 /bean | |
parent | 99920c36e926471311b940902c132d48370328ca (diff) |
bean: unchecked call to getMethod() as a member of the raw type Class
http://docs.oracle.com/javase/tutorial/reflect/class/classTrouble.html
Change-Id: Ib548b47c412394e1518fea42b83d05a36c1655c8
Reviewed-on: https://gerrit.libreoffice.org/11477
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bean')
-rw-r--r-- | bean/test/applet/oooapplet/OOoViewer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/test/applet/oooapplet/OOoViewer.java b/bean/test/applet/oooapplet/OOoViewer.java index cd86b4a27bab..f2571bae7a1f 100644 --- a/bean/test/applet/oooapplet/OOoViewer.java +++ b/bean/test/applet/oooapplet/OOoViewer.java @@ -63,7 +63,7 @@ public class OOoViewer extends Applet { @Override public void start() { try { - Class beanClass = m_loader.loadClass("com.sun.star.comp.beans.OOoBean"); + Class<?> beanClass = m_loader.loadClass("com.sun.star.comp.beans.OOoBean"); m_objBean = beanClass.newInstance(); setLayout(new BorderLayout()); add((java.awt.Container)m_objBean, BorderLayout.CENTER); |