Skip to content

Commit

Permalink
Replace FileInputStream with FileReader (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: Ola Wingbrant (sssowo) <[email protected]>
  • Loading branch information
woosh and Ola Wingbrant (sssowo) authored Feb 28, 2024
1 parent d9cccea commit f0a67a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tricera/params/TriCeraParameters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

package tricera.params

import java.io.FileInputStream
import java.io.FileReader

import lazabs.GlobalParameters
import lazabs.horn.abstractions.StaticAbstractionBuilder.AbstractionType
Expand Down Expand Up @@ -377,7 +377,7 @@ class TriCeraParameters extends GlobalParameters {
showHelp
throw new MainException(s"unrecognized option '$arg'")
case fn :: rest =>
fileName = fn; in = new FileInputStream(fileName); parseArgs(rest)
fileName = fn; in = new FileReader(fileName); parseArgs(rest)
}

var doNotExecute : Boolean = false
Expand Down

0 comments on commit f0a67a1

Please sign in to comment.