Commit in lcsim/src/org/lcsim/util/lcio on MAIN
SIOCalorimeterHitBlockHandler.java+20-131.2 -> 1.3
JM: Code formatting

lcsim/src/org/lcsim/util/lcio
SIOCalorimeterHitBlockHandler.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- SIOCalorimeterHitBlockHandler.java	2 Aug 2005 17:18:06 -0000	1.2
+++ SIOCalorimeterHitBlockHandler.java	5 Apr 2006 18:43:39 -0000	1.3
@@ -9,26 +9,33 @@
 
 /**
  * Block handler for calorimeter hits.
- *
+ * 
  * @author Guilherme Lima
- * @version $Id: SIOCalorimeterHitBlockHandler.java,v 1.2 2005/08/02 17:18:06 tonyj Exp $
+ * @version $Id: SIOCalorimeterHitBlockHandler.java,v 1.2 2005/08/02 17:18:06
+ *          tonyj Exp $
  */
 class SIOCalorimeterHitBlockHandler extends AbstractBlockHandler
 {
-    public String getType() { return "CalorimeterHit"; }
-    public Class getClassForType() { return CalorimeterHit.class; }
-    void addCollectionElements(LCIOEvent event, LCIOCollection collection,
-				      SIOInputStream in, int n, int version)
-	throws IOException
+    public String getType()
     {
-      LCMetaData meta = event.getMetaData(collection);
-      for (int i = 0; i < n; i++)
-	collection.add(new SIOCalorimeterHit(in, collection.getFlags(), version, meta));
+        return "CalorimeterHit";
     }
 
-    void writeCollectionElement(Object element, SIOOutputStream out, int flags)
-	throws IOException
+    public Class getClassForType()
     {
-	SIOCalorimeterHit.write((CalorimeterHit) element, out, flags);
+        return CalorimeterHit.class;
+    }
+
+    void addCollectionElements(LCIOEvent event, LCIOCollection collection, SIOInputStream in, int n, int version)
+            throws IOException
+    {
+        LCMetaData meta = event.getMetaData(collection);
+        for (int i = 0; i < n; i++)
+            collection.add(new SIOCalorimeterHit(in, collection.getFlags(), version, meta));
+    }
+
+    void writeCollectionElement(Object element, SIOOutputStream out, int flags) throws IOException
+    {
+        SIOCalorimeterHit.write((CalorimeterHit) element, out, flags);
     }
 }
CVSspam 0.2.8