-
Notifications
You must be signed in to change notification settings - Fork 2.7k
try
can use automatic resource management
- all
#2395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
try
can use automatic resource management
- all
#2395
Conversation
2b1a621
to
92c8a5e
Compare
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Show resolved
Hide resolved
92c8a5e
to
67c3363
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked: https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html
We shouldn’t write code like it’s an ATM—it’s confusing, mimics structure without real purpose, and avoids modern patterns. This approach trades boilerplate for actual business functionality.
...in-active-collection/src/main/java/org/apache/maven/plugin/coreit/CheckThreadSafetyMojo.java
Show resolved
Hide resolved
e99e668
to
5355f71
Compare
its/core-it-suite/src/test/resources/mng-2135/plugin/src/main/java/coreit/ItMojo.java
Show resolved
Hide resolved
@@ -78,22 +78,13 @@ protected void append(Object value) throws MojoExecutionException { | |||
File file = getLogFile(); | |||
getLog().info("[MAVEN-CORE-IT-LOG] Updating log file: " + file); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need all these log statements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all all or just some, as partly addressed in enabler?
try
can use automatic resource managementtry
can use automatic resource management
wait for enabler. |
5355f71
to
eec11b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I usually skip Draft PRs. When you're happy with it, mark it ready for review.
try
can use automatic resource management
try
can use automatic resource management
- all
IO
catch onmkdirs()
#2396