gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] fenfire/org/fenfire impl/CachingNodeContent.jav...


From: Tuomas J. Lukka
Subject: [Gzz-commits] fenfire/org/fenfire impl/CachingNodeContent.jav...
Date: Wed, 16 Apr 2003 03:24:39 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Changes by:     Tuomas J. Lukka <address@hidden>        03/04/16 03:24:39

Modified files:
        org/fenfire/impl: CachingNodeContent.java 
        org/fenfire/modules/pp: Pp.java 

Log message:
        Cachingnodecontent seems ok

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/impl/CachingNodeContent.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/modules/pp/Pp.java.diff?tr1=1.23&tr2=1.24&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/impl/CachingNodeContent.java
diff -u fenfire/org/fenfire/impl/CachingNodeContent.java:1.1 
fenfire/org/fenfire/impl/CachingNodeContent.java:1.2
--- fenfire/org/fenfire/impl/CachingNodeContent.java:1.1        Wed Apr 16 
03:22:36 2003
+++ fenfire/org/fenfire/impl/CachingNodeContent.java    Wed Apr 16 03:24:39 2003
@@ -13,6 +13,10 @@
 public class CachingNodeContent implements NodeContent {
     NodeContent base;
 
+    public CachingNodeContent(NodeContent base) {
+       this.base = base;
+    }
+
     private class Cached  implements Obs {
        Object node;
        Enfilade1D enf;
Index: fenfire/org/fenfire/modules/pp/Pp.java
diff -u fenfire/org/fenfire/modules/pp/Pp.java:1.23 
fenfire/org/fenfire/modules/pp/Pp.java:1.24
--- fenfire/org/fenfire/modules/pp/Pp.java:1.23 Wed Apr 16 02:40:04 2003
+++ fenfire/org/fenfire/modules/pp/Pp.java      Wed Apr 16 03:24:39 2003
@@ -28,7 +28,7 @@
 
 
 public class Pp implements BuoyLinkListener {
-public static final String rcsid = "$Id: Pp.java,v 1.23 2003/04/16 06:40:04 
tjl Exp $";
+public static final String rcsid = "$Id: Pp.java,v 1.24 2003/04/16 07:24:39 
tjl Exp $";
     public static final boolean dbg = false;
     protected static void p(String s) { if(dbg) pa(s); }
     protected static void pa(String s) { System.out.println("Pp::"+s); }
@@ -61,7 +61,7 @@
        fen = new Fen();
        fen.constgraph = fen.graph = new HashGraph();
        //fen.enfiladeOverlap = new XXX
-       fen.txt = new SimpleNodeContent(fen);
+       fen.txt = new CachingNodeContent(new SimpleNodeContent(fen));
 
        ppAct = new PPActionsImpl(fen);
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]