Skip to content

Commit

Permalink
Merge pull request #3 from AdamZsofi/dev-tracegen
Browse files Browse the repository at this point in the history
Added extension check to backannotation
  • Loading branch information
LendvaiDenes authored Nov 20, 2022
2 parents 43df9db + 15256b9 commit 2ceddcc
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ class ThetaTraceGenerator {
val gammaPackage = traceability as Package
if(traceDir.listFiles() !== null) {
for(File tf : traceDir.listFiles()) {
var traceFileScanner = new Scanner(tf)
traceList.add(gammaPackage.backAnnotate(traceFileScanner))
if(tf.name.endsWith(".trace")) {
var traceFileScanner = new Scanner(tf)
traceList.add(gammaPackage.backAnnotate(traceFileScanner))
}
}
}
return traceList
Expand Down

0 comments on commit 2ceddcc

Please sign in to comment.