Changeset 3058


Ignore:
Timestamp:
08/07/07 14:30:43 (13 years ago)
Author:
curtis
Message:

Workaround for NullPointerException.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/data/DataCache.java

    r3015 r3058  
    130130  /** Sets the data in the cache at the specified key. */ 
    131131  protected void putCachedData(String key, Data d) { 
    132     if (key != null) hash.put(key, d); 
     132    if (key != null && d != null) hash.put(key, d); 
    133133  } 
    134134 
Note: See TracChangeset for help on using the changeset viewer.