/[fenfire]/fenfire/org/fenfire/swamp/CachedPureNodeFunction.java
ViewVC logotype

Diff of /fenfire/org/fenfire/swamp/CachedPureNodeFunction.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Sun Aug 31 12:36:16 2003 UTC revision 1.3 by tjl, Mon Sep 1 10:20:58 2003 UTC
# Line 65  public class CachedPureNodeFunction impl Line 65  public class CachedPureNodeFunction impl
65                  throw new IllegalArgumentException("Called with wrong graph");                  throw new IllegalArgumentException("Called with wrong graph");
66          }          }
67    
68          NodeFunctionCacheEntry cac = (NodeFunctionCacheEntry)cache.get(node);          FunctionCacheEntry cac = (FunctionCacheEntry)cache.get(node);
69          if(cac == null) {          if(cac == null) {
70              cac = new NodeFunctionCacheEntry(node);              cac = new FunctionCacheEntry(node);
71              cache.put(node, cac);              cache.put(node, cac);
72          }          }
73          if(cac.value == cac.DIRTY) {          if(cac.value == cac.DIRTY) {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26