Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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

@@ -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);
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

@@ -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;
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