[Libreoffice-commits] core.git: toolkit/test

Robert Antoni Buj i Gelonch robert.buj at gmail.com
Thu Oct 9 23:20:06 PDT 2014


 toolkit/test/accessibility/ov/ObjectViewContainer.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d802b6d2424cf87a9c3780565625a53fe184b790
Author: Robert Antoni Buj i Gelonch <robert.buj at gmail.com>
Date:   Thu Oct 9 15:51:57 2014 +0200

    unchecked call to getDeclaredMethod(String,Class<?>...)
    
    http://docs.oracle.com/javase/tutorial/reflect/class/classTrouble.html
    
    Change-Id: I293e7ad3ace1a8876c34d7ffd070b49807a8b0a6
    Reviewed-on: https://gerrit.libreoffice.org/11882
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/toolkit/test/accessibility/ov/ObjectViewContainer.java b/toolkit/test/accessibility/ov/ObjectViewContainer.java
index e8d6272..a22d61e 100644
--- a/toolkit/test/accessibility/ov/ObjectViewContainer.java
+++ b/toolkit/test/accessibility/ov/ObjectViewContainer.java
@@ -69,7 +69,7 @@ public class ObjectViewContainer
         {
             try
             {
-                Class aViewClass = maViewTemplates.get (i);
+                Class<?> aViewClass = maViewTemplates.get(i);
                 Method aCreateMethod = aViewClass.getDeclaredMethod (
                     "Create", new Class[] {
                         ObjectViewContainer.class,


More information about the Libreoffice-commits mailing list