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

Upgrade to JDK 1.8 #126

Merged
merged 4 commits into from
Sep 30, 2016
Merged

Upgrade to JDK 1.8 #126

merged 4 commits into from
Sep 30, 2016

Conversation

lewismc
Copy link
Member

@lewismc lewismc commented Sep 26, 2016

This issue addresses #125

@lewismc
Copy link
Member Author

lewismc commented Sep 26, 2016

For some reason the TravisCI config is not being picked up.

@@ -1,5 +1,9 @@
language: java

script:
- jdk_switcher use oraclejdk8
Copy link
Contributor

Choose a reason for hiding this comment

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

Have you tried

jdk:
  - oraclejdk8

@@ -1,5 +1,9 @@
language: java

script:
- jdk_switcher use oraclejdk8
- mvn install javadoc:aggregate
Copy link
Contributor

Choose a reason for hiding this comment

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

what's this one for?

Copy link
Member Author

Choose a reason for hiding this comment

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

This defines the targets to run... we always wish to build the Javadoc target as this lets us know if the Javadoc is JDK8 compliant.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, thanks. I assumed the javadoc was checked by Travis

@@ -74,13 +74,13 @@ public static EffectiveTldFinder getInstance() {
return instance;
}

public boolean initialize(InputStream effective_tld_data_stream) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Are _ not allowed in Java8?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes... but they are flagged as warn's for the Javac. It is not Java convention.

@jnioche
Copy link
Contributor

jnioche commented Sep 27, 2016

Did you run mvn java-formatter:format before committing?

@lewismc
Copy link
Member Author

lewismc commented Sep 30, 2016

Did you run mvn java-formatter:format before committing?

Actually no I did not.. I will do that right now.
Thanks for review @jnioche

@lewismc
Copy link
Member Author

lewismc commented Sep 30, 2016

@jnioche can you please review again at your earlier opportunity. Thank you.

@jnioche jnioche merged commit d0c1221 into crawler-commons:master Sep 30, 2016
@jnioche
Copy link
Contributor

jnioche commented Sep 30, 2016

Merged, thanks @lewismc

jnioche added a commit that referenced this pull request Sep 30, 2016
 and changed presentation of issue number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants