Print

Print


Commit in lcio/src/java/hep/lcio/implementation/sio on MAIN
SIOEvent.java+4-21.45 -> 1.46
fix bug where LCRelation collections not added to event

lcio/src/java/hep/lcio/implementation/sio
SIOEvent.java 1.45 -> 1.46
diff -u -r1.45 -r1.46
--- SIOEvent.java	22 Jun 2010 13:49:56 -0000	1.45
+++ SIOEvent.java	17 Aug 2010 22:26:56 -0000	1.46
@@ -17,7 +17,7 @@
 /**
  *
  * @author Tony Johnson
- * @version $Id: SIOEvent.java,v 1.45 2010/06/22 13:49:56 gaede Exp $
+ * @version $Id: SIOEvent.java,v 1.46 2010/08/17 22:26:56 jeremy Exp $
  */
 class SIOEvent extends ILCEvent
 {
@@ -47,7 +47,7 @@
       {
          String blockName = in.readString();
          String blockType = in.readString();
-         
+
          blockMap.put(blockName, blockType);
       }
       
@@ -83,6 +83,7 @@
          SIOInputStream in = block.getData();
          String name = block.getBlockName();
          String type = (String) blockMap.get(name);
+
          if (type == null) continue;
          //fg20050304 remove postfix _References for subset collections
          if( type.endsWith( SUBSETPOSTFIX ) )
@@ -322,6 +323,7 @@
             for (int i = 0; i < n; i++)
                ilc.add(new SIORelation(in,this, flags, major, minor));
             ilc.setOwner(this);
+            addCollection(ilc,name);
          }
          else
          {
CVSspam 0.2.8