-
Notifications
You must be signed in to change notification settings - Fork 27
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
Java 8 multiple lib upgrades #18
base: master
Are you sure you want to change the base?
Conversation
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.
LGTM in principal
@@ -263,7 +263,7 @@ private JSLintResult lintFile(JSLint jsLint, File file) throws MojoExecutionExce | |||
} catch (IOException e) { | |||
throw new MojoExecutionException("problem whilst linting " + file, e); | |||
} finally { | |||
Closeables.closeQuietly(reader); |
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.
Why the switch to apache commons? I don't mind, I'm just curious.
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.
The guava version was removed: google/guava#1118
@@ -1,7 +1,7 @@ | |||
package com.googlecode.jslint4java.ant; | |||
|
|||
import static org.hamcrest.CoreMatchers.*; | |||
import static org.junit.Assert.*; | |||
import static org.hamcrest.MatcherAssert.assertThat; |
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.
What's the difference between the hamcrest assertThat and the JUnit assertThat?
(apologies I've not been in the Java ecosystem for some time)
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.
The old one is deprecated
https://junit.org/junit4/javadoc/4.13/org/junit/Assert.html#assertThat(T,%20org.hamcrest.Matcher)
Hi @happygiraffe ,
I've been able to upgrade to java 8 as well as upgrading multiple libraries.
There's more to do:
jcommander
furtherjslint.js
...but thought it would be good to get this in.
😀 🦒