Closed scottmarlow closed 4 weeks ago
Interesting that order is important as this doesn't truncate the output file:
Files.writeString(testClientJavaFile, testClient.getContent(), StandardOpenOption.CREATE, StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING)
But this does truncate the output file:
Files.writeString(testClientJavaFile, testClient.getContent(), StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE)
^ makes sense that the parameters are processed in order
Addresses https://github.com/eclipse-ee4j/jakartaee-tck-tools/issues/105
Interesting that order is important as this doesn't truncate the output file:
But this does truncate the output file:
^ makes sense that the parameters are processed in order
Addresses https://github.com/eclipse-ee4j/jakartaee-tck-tools/issues/105