Skip to content

Conversation

tntim96
Copy link

@tntim96 tntim96 commented Jun 21, 2023

Hi @happygiraffe ,

I've been able to upgrade to java 8 as well as upgrading multiple libraries.

There's more to do:

  • fix deprecations
  • upgrade jcommander further
  • attempt upgrade of jslint.js
  • create a github action

...but thought it would be good to get this in.
😀 🦒

Copy link
Owner

@happygiraffe happygiraffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in principal

} catch (IOException e) {
throw new MojoExecutionException("problem whilst linting " + file, e);
} finally {
Closeables.closeQuietly(reader);
Copy link
Owner

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.

Copy link
Author

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


import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
import static org.hamcrest.MatcherAssert.assertThat;
Copy link
Owner

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)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants