Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

javadocs for java 1.8?

this new doclint thing is horrible!!!!

i would like to turn it off

i read this

http://blog.joda.org/2014/02/turning-off-doclint-i...

but it makes no sense to me

can anyone explain it to me??

thanks!

3 Answers

Relevance
  • 7 years ago
    Favorite Answer

    Thanks for your question. I learned a new 'feature' of JDK8. Your link is referring to Maven, which is a code ignitor -- you write in shorthand and Maven generates code. I'm from the old-school. I like Java. When writing code you are supposed to add the Javadoc comments. IDE tools like Eclipse and NetBeans will help you with the skeleton of the JavaDoc. Then after the code was complete you generated the JavaDoc with:

    $> Javadoc -option -option -option OptionalSaveLoc ClassA.java ClassB.java

    -Xlint:unchecked was a compile-time flag to tell java to ignore type generics warnings and not output messages to the terminal.

    -Xdoclint:none is a flag for the Javadoc program to ignore imperfect <html> in the Javadoc. In your reference link they add the flag as a Maven statement that will add to the Javadoc Hashtable of properties when documentation for the project is generated.

    So, you can add that flag with a shell script, an IDE parameter, or as a Terminal command. Most Java coders are happily ignorant of the 30 flags available when compiling Java code.

  • ?
    Lv 4
    5 years ago

    Jdk Javadocs

  • Anonymous
    7 years ago

    try in google

Still have questions? Get your answers by asking now.