Skip to content

Remove dependency on Guava#69

Merged
fractalwrench merged 5 commits intomasterfrom
remove-guava-dep
Jan 3, 2018
Merged

Remove dependency on Guava#69
fractalwrench merged 5 commits intomasterfrom
remove-guava-dep

Conversation

@fractalwrench
Copy link
Copy Markdown
Contributor

Removes the library's dependency on Guava, as it is not used extensively, has led to non-reproducible dependency issues, and adds quite a bit of size to built artefacts.

return System.getenv("COMPUTERNAME");
}
private static volatile String hostname;
private static transient volatile boolean hostnameInitialised;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any reason not to use AtomicBoolean here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess it is blocking so could slow things down slightly... carry on!

@fractalwrench
Copy link
Copy Markdown
Contributor Author

Also fixes a bug in Gradle 4.0 not recognising JDK 9.0.1: travis-ci/travis-ci#8975

Copy link
Copy Markdown
Contributor

@foygl foygl left a comment

Choose a reason for hiding this comment

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

Looks good to me

@fractalwrench fractalwrench merged commit 3a1049f into master Jan 3, 2018
@fractalwrench fractalwrench deleted the remove-guava-dep branch January 3, 2018 15:50
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