elharo commented on code in PR #1413:
URL: https://github.com/apache/maven-site/pull/1413#discussion_r2423587956


##########
src/main/java/org/apache/maven/site/update/Update.java:
##########
@@ -36,6 +36,17 @@
  * 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-check-errors.html
  */
 public class Update {
+    public static void main(String[] args) {
+    Update updater = new Update(); // reuse instance

Review Comment:
   If one instance can be reused, then this should all just be static methods, 
no instances at all. @hboutemy 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to