Changeset 1249


Ignore:
Timestamp:
08/15/06 12:42:11 (14 years ago)
Author:
curtis
Message:

Eliminate warnings about varargs calls in Java 1.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FormatReader.java

    r1242 r1249  
    549549      MetadataStore ms = reader.getMetadataStore(id); 
    550550      try { 
    551         Method m = ms.getClass().getMethod("dumpXML", null); 
     551        Method m = ms.getClass().getMethod("dumpXML", (Class[]) null); 
    552552        System.out.println("OME-XML:"); 
    553         System.out.println(m.invoke(ms, null)); 
     553        System.out.println(m.invoke(ms, (Object[]) null)); 
    554554        System.out.println(); 
    555555      } 
Note: See TracChangeset for help on using the changeset viewer.