Skip to content

Commit 3bf6ea5

Browse files
committed
API style consolidation - in DfsBProgramVerifier (closes #173)
1 parent 3e4c47e commit 3bf6ea5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ If you use BPjs in an academic work, please consider citing it as:
5656
### 2022-02 (Including the 1st BP Day Hackathon)
5757
* :part_alternation_mark: Calling `bp.sync` from global scope during runtime does not cause an ugly exception anymore ([#174](https://github.com/bThink-BGU/BPjs/issues/174)). The error is reported to the listeners.
5858
* Also when making the illegal call from an interrupt handler.
59-
* :arrow_up: Improved JavaScript code error detection during analysis -
59+
* :arrow_up: Improved JavaScript code error detection during analysis
6060
* :arrow_up: Improvements to handling `null`s in event set arrays ([#178](https://github.com/bThink-BGU/BPjs/issues/178)).
6161
* :arrow_up: Improvements to handling Rhino context in BPjs class ([#176](https://github.com/bThink-BGU/BPjs/issues/176)).
6262
* :arrow_up: Improvements to the `MapProxy` classes, allowing client code pre-process changes.
63-
* :part_alternation_mark: `BEvent::getDataField` data accessors wrap the lower-level `getData()` ([#161](https://github.com/bThink-BGU/BPjs/issues/161)).
6463
* :arrow_up: `JsEventSet` now honors the event set name during equality checks.
64+
* :part_alternation_mark: `BEvent::getDataField` data accessors wrap the lower-level `getData()` ([#161](https://github.com/bThink-BGU/BPjs/issues/161)).
65+
* :part_alternation_mark: API improvments on `DfcBProgramVerifier` ([#173](https://github.com/bThink-BGU/BPjs/issues/173)).
6566
* :put_litter_in_its_place: Consolidated tests for `BProgramJsProxy`.
6667

6768
### 2022-01

src/main/java/il/ac/bgu/cs/bp/bpjs/analysis/DfsBProgramVerifier.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,9 @@ public void setDebugMode(boolean debugMode) {
383383
this.debugMode = debugMode;
384384
}
385385

386-
public void addInspection( ExecutionTraceInspection ins ) {
386+
public <I extends ExecutionTraceInspection> I addInspection( I ins ) {
387387
inspections.add(ins);
388+
return ins;
388389
}
389390

390391
public Set<ExecutionTraceInspection> getInspections() {

0 commit comments

Comments
 (0)