superlint/test/linters/jscpd/good/groovy_good_01.groovy

7 lines
184 B
Groovy
Raw Normal View History

2020-07-14 10:28:58 -04:00
class Example {
2020-11-06 17:18:48 -05:00
static void main(String[] args) {
File file = new File("E:/Example.txt")
println "The file ${file.absolutePath} has ${file.length()} bytes"
}
2020-07-14 10:28:58 -04:00
}