This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch MRESOLVER-311 in repository https://gitbox.apache.org/repos/asf/maven-resolver.git
commit e55d0daede824ef7761fcb835ecc1e573ed30e71 Author: Sylwester Lachiewicz <slachiew...@apache.org> AuthorDate: Sun Feb 19 11:31:12 2023 +0100 [MRESOLVER-311] move to package - spotless issue --- .../src/main/java/{ => demo}/TestNioLock.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/TestNioLock.java b/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/demo/TestNioLock.java similarity index 96% rename from maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/TestNioLock.java rename to maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/demo/TestNioLock.java index 8ec810a2..19a23016 100644 --- a/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/TestNioLock.java +++ b/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/demo/TestNioLock.java @@ -1,4 +1,4 @@ -// CHECKSTYLE_OFF: RegexpHeader +package demo;// CHECKSTYLE_OFF: RegexpHeader /* * Licensed to the Apache Software Foundation (ASF) under one @@ -35,8 +35,8 @@ import java.util.concurrent.atomic.AtomicInteger; * A simple tool to check file locking on your OS/FS/Java combo. To use this tool, just copy it to basedir on * the volume you plan to use as local repository and compile and run it: * <ul> - * <li><pre>javac TestNioLock.java</pre></li> - * <li><pre>java TestNioLock test someFile 1000</pre></li> + * <li><pre>javac demo.TestNioLock.java</pre></li> + * <li><pre>java demo.TestNioLock test someFile 1000</pre></li> * </ul> */ public class TestNioLock @@ -53,7 +53,7 @@ public class TestNioLock { if ( args.length != 3 ) { - System.out.println( "TestNioLock <test|perform> <file> <sleepMs>" ); + System.out.println( "demo.TestNioLock <test|perform> <file> <sleepMs>" ); System.exit( EC_ERROR ); }