Skip to content

Commit

Permalink
Minor code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
martinboulais committed Aug 21, 2024
1 parent ec52831 commit 66b83bc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
17 changes: 12 additions & 5 deletions src/alice/dip/DipClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ public void closeSubscriptions() {
dip.destroyDipSubscription(subx);
} catch (DipException e) {
// e.printStackTrace();
AliDip2BK.log(4, "DipClient.CloseSubscriptions", " error closing subscription for param=" + k + " e=" + e);
AliDip2BK.log(
4,
"DipClient.CloseSubscriptions",
" error closing subscription for param=" + k + " e=" + e
);
}

}
Expand Down Expand Up @@ -190,6 +194,7 @@ public void readParamFile(String file_name) {
* handler for connect/disconnect/data reception events
*/
class GeneralDataListener implements DipSubscriptionListener {

/**
* handle changes to subscribed to publications
*/
Expand Down Expand Up @@ -224,8 +229,11 @@ public void connected(DipSubscription arg0) {
* unavailable.
*/
public void disconnected(DipSubscription arg0, String arg1) {
AliDip2BK.log(4, "DipClient.GeneralDataListener.disconnect",
"Publication source unavailable " + arg0 + " " + arg1);
AliDip2BK.log(
4,
"DipClient.GeneralDataListener.disconnect",
"Publication source unavailable " + arg0 + " " + arg1
);
status = false;
}

Expand All @@ -235,5 +243,4 @@ public void handleException(DipSubscription arg0, Exception arg1) {

}
}

}
}
1 change: 0 additions & 1 deletion src/alice/dip/LhcInfoObj.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public class LhcInfoObj implements Serializable {

public int fillNo;
public long createdTime = -1;
;
public long endedTime = -1;
public String Beam1ParticleType;
public String Beam2ParticleType;
Expand Down

0 comments on commit 66b83bc

Please sign in to comment.