This post originated from an RSS feed registered with Java Buzz
by Franco Martinig.
Original Post: Compile Your Java Code with -Xlint:all -Werror
Feed Title: Java Software Development Videos and Tutorials Directory
Feed URL: http://www.java-tv.com/feed/
Feed Description: Java-TV.com is a directory of videos, interviews and tutorials focused on software development activities with the Java programming language.
Would you ever dare to enable all compiler warnings? Most people don’t, and some people are afraid to, because of what they might find out about their code. The Java compiler is the first line of defense against bugs. Enabling warnings makes it possible for the compiler to tell you more about your code.
Fixing warnings will improve your code base, because the warnings will point out bugs, questionable constructs, and use of obsolescent and deprecated interfaces.? This session’s speakers cite examples from their experiences in cleaning up warnings in the ...