[Libreoffice-commits] core.git: bean/test
Robert Antoni Buj i Gelonch
robert.buj at gmail.com
Tue Sep 16 23:12:52 PDT 2014
bean/test/applet/oooapplet/OOoViewer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 804e0335fbcc9758ef36a207c5e95664972d31f9
Author: Robert Antoni Buj i Gelonch <robert.buj at gmail.com>
Date: Tue Sep 16 18:25:16 2014 +0200
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 at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/bean/test/applet/oooapplet/OOoViewer.java b/bean/test/applet/oooapplet/OOoViewer.java
index cd86b4a..f2571ba 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);
More information about the Libreoffice-commits
mailing list