incava.org

DiffJ is like the Unix program diff, but specifically for Java code. It compares Java source files so that only the code is compared, not whitespace nor comments. Output is also specific to Java code, showing, for example, methods that have been moved, parameters that have renamed, and exceptions added. For code within methods, the method name is displayed. A more complete list of features:

  • packages renamed
  • imports added and removed
  • types (classes and interfaces) added and removed
  • methods added and removed
  • fields added and removed
  • code changed within methods and constructors, and for field initializers
  • access changed
  • changes in method/ctor throws list

See an example, read the man page, or download it.

Valid HTML 4.01!

Valid CSS!