Skip to content

Commit 6800701

Browse files
committed
fix
1 parent 9464164 commit 6800701

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • common-tools/clas-detector/src/main/java/org/jlab/detector/serial

‎common-tools/clas-detector/src/main/java/org/jlab/detector/serial/Occupancer.java‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class Occupancer extends ArrayList<Occupancer.OccupanceTable> {
2424

2525
static final String BANKDIR = ClasUtilsFile.getResourceDir("CLAS12DIR","etc/bankdefs/hipo4/singles/occupancy");
2626
static final SchemaFactory schema = new SchemaFactory();
27-
static { schema.initFromDirectory(BANKDIR); }
27+
static { schema.initFromDirectory(ClasUtilsFile.getResourceDir("CLAS12DIR","etc/bankdefs/hipo4")); }
2828

2929
int events;
3030
int prescale;
@@ -60,10 +60,7 @@ public boolean process(Event event) {
6060
}
6161

6262
public void reset() {
63-
forEach(t -> {
64-
t.reset();
65-
events = 0;
66-
});
63+
forEach(t -> { t.reset(); events = 0; });
6764
}
6865

6966
public static final class OccupanceTable {

0 commit comments

Comments
 (0)