/[gzz]/gzz/lava/gzz/storm/impl/DirPool.java
ViewVC logotype

Diff of /gzz/lava/gzz/storm/impl/DirPool.java

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

revision 1.23 by benja, Sun Jan 19 00:55:59 2003 UTC revision 1.24 by benja, Sun Jan 19 01:08:51 2003 UTC
# Line 73  public class DirPool extends AbstractLoc Line 73  public class DirPool extends AbstractLoc
73              this.tempFile = tempFile;              this.tempFile = tempFile;
74          }          }
75    
76          public void close() throws IOException {          public Block makeBlock() throws IOException {
             if(closed) return;  
   
             out.close();  
             closed = true;  
               
77              BlockId id = makeIdFromDigest();              BlockId id = makeIdFromDigest();
78              File file = getFile(id);              File file = getFile(id);
79    
# Line 89  public class DirPool extends AbstractLoc Line 84  public class DirPool extends AbstractLoc
84    
85              block = new FileBlock(id);              block = new FileBlock(id);
86              added(block);              added(block);
87                return block;
88          }          }
89      }      }
90    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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