Skip to content

Commit

Permalink
Remove unnecessary assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
alllex committed Feb 28, 2023
1 parent 277e222 commit 7ce1d3d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -97,7 +97,7 @@ trait JavaToolchainFixture {
* Returns the Java version from the compiled class bytecode.
*/
JavaVersion classJavaVersion(File classFile) {
assert classFile.exists(), "Class file ${classFile} does not exist"
assert classFile.exists()
return JavaVersion.forClass(classFile.bytes)
}
}

0 comments on commit 7ce1d3d

Please sign in to comment.