/[gzz]/gzz/lava/gzz/storm/util/SimpleStormFiler.java
ViewVC logotype

Diff of /gzz/lava/gzz/storm/util/SimpleStormFiler.java

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

revision 1.1 by benja, Tue Jan 14 15:43:07 2003 UTC revision 1.2 by benja, Tue Jan 14 17:20:48 2003 UTC
# Line 37  public class SimpleStormFiler implements Line 37  public class SimpleStormFiler implements
37    
38      public Version load() throws IOException {      public Version load() throws IOException {
39          if(current == null) return emptyVersion;          if(current == null) return emptyVersion;
40            return load(current.getTarget());
41        }
42                    
43          Block block = pool.get(current.getTarget());      public Version load(BlockId id) throws IOException {
44            Block block = pool.get(id);
45          InputStream is = block.getInputStream();          InputStream is = block.getInputStream();
46          Version v = format.readVersion(is);          Version v = format.readVersion(is);
47          is.close();          is.close();

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

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