Changeset 6142


Ignore:
Timestamp:
04/19/10 16:07:53 (10 years ago)
Author:
curtis
Message:

Fix a stupid mistake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/ClassList.java

    r6141 r6142  
    169169  @SuppressWarnings("unchecked") 
    170170  private Class<? extends T> cast(Class<?> rawClass) { 
    171     if (!rawClass.isAssignableFrom(base)) return null; 
     171    if (!base.isAssignableFrom(rawClass)) return null; 
    172172    return (Class<? extends T>) rawClass; 
    173173  } 
Note: See TracChangeset for help on using the changeset viewer.