Fix compile warnings generated after migrating JDK8.
This is a sub-task of HADOOP-13369.
[umbrella] Fix javadoc warnings by JDK8 on trunk
Akira Ajisaka No problem. Thanks for taking care!
I forgot to add "Contributed by Kai Sasaki" to the commit message. Sorry for that.
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10609 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10609/)
HADOOP-13417. Fix javac and checkstyle warnings in hadoop-auth package. (aajisaka: rev 5a5a724731b74df9eed2de5f3370bcb8023fa2eb)
Committed this to trunk. Thanks Kai Sasaki for the contribution!
03 patch looks to be the same as 01 patch. I'll commit 02 patch tomorrow if there are no objections.
This message was automatically generated.
The patch is not related to javadoc, so changed the title.
Akira Ajisaka Thanks for pointing out! I fixed that in addition to checkstyle issues.
Thanks Kai Sasaki for cleaning up the code. One comment: The lambda statement can be cleaned up as follows:
// Register auth schema
httpContext -> new SPNegoScheme(true, true)
Thanks for filing these jiras. I am converting them to subtasks of HADOOP-13369.