Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace FileInputStream with FileReader in TriCeraParameters #11

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Replace FileInputStream with FileReader in TriCeraParameters #11

merged 1 commit into from
Feb 28, 2024

Conversation

woosh
Copy link
Collaborator

@woosh woosh commented Feb 28, 2024

This PR replaces instantiation of a FileInputStream with an instantiation of a FileReader in the TriCeraParameters class. This is to adapt the TriCeraParameters class to recent changes in the Eldarica API, please see uuverifiers/eldarica#53 for details. Without the changes TriCera fails to build with the following error:

[error] /home/dev/repos/tricera/src/tricera/params/TriCeraParameters.scala:380:27: type mismatch;
[error]  found   : java.io.FileInputStream
[error]  required: java.io.Reader
[error]       fileName = fn; in = new FileInputStream(fileName); parseArgs(rest)
[error]

@zafer-esen
Copy link
Collaborator

Thanks for this PR!

@zafer-esen zafer-esen merged commit f0a67a1 into uuverifiers:master Feb 28, 2024
1 check passed
@woosh woosh deleted the fix-eldarica-api branch February 28, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants