| Author | Dave Jarvis <email> |
|---|---|
| Date | 2023-02-20 12:20:24 GMT-0800 |
| Commit | cd580109347ac78e8b675affb0678c133acb1500 |
| Parent | 31818da |
| } | ||
| -task lib(type: Jar) { | ||
| +tasks.register( 'lib', Jar ) { | ||
| archiveFileName = "${applicationName}.jar" | ||
| - destinationDirectory = file("$buildDir/lib") | ||
| + destinationDirectory = file( "$buildDir/lib" ) | ||
| from "$buildDir/classes/java/main" |
| * </pre> | ||
| */ | ||
| -@SuppressWarnings( "unused" ) | ||
| +@SuppressWarnings( {"unused", "SpellCheckingInspection"} ) | ||
| public class StringIterationBenchmark { | ||
| private static final int STRLEN = 1024 * 1024; | ||
| var spaces = 0; | ||
| - char ch = ' '; | ||
| + char ch; | ||
| while( (ch = i.advance()) != DONE ) { | ||
| Delta | 4 lines added, 4 lines removed |
|---|