diffj icon indicating copy to clipboard operation
diffj copied to clipboard

A command line application to compare Java files without regard to formatting.

Results 7 diffj issues
Sort by recently updated
recently updated
newest added

DiffJ v1.6.4. When I compare the file to itself - DiffJ finds differences. ``` class MyClass { static { int a = 1; } static { int b = 2;...

DiffJ v1.6.4 doesn't see a difference between the two classes: ``` public class MyClass { public int a; public MyClass(int a) { this.a = a; } public MyClass() { this(1);...

Hello, Code that has Overloaded Methods and two of the method have same parameters, but one has varargs is causing inconsistencies on diffj's output, here is an example: #### When...

I am trying to compare two versions of a class (attached), and a ClassCastException is thrown. Cannot cast 'net.sourceforge.pmd.lang.java.ast.ASTType' to 'net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId' Depuring the application, I'm supposing it is an error...

There's no LICENSE file. [build.gradle](https://github.com/jpace/diffj/blob/0e71a3e4edb6ec1e572168f665730c3bef6c613a/build.gradle#L24) suggests it is Apache-2.0. The [command line implementation](https://github.com/jpace/diffj/blob/43ce95b7779d777f9dc02cf6ae94d32eff238859/src/main/java/org/incava/diffj/app/DiffJ.java#L129) suggests LGPL. Sorry to be a pain, but would you mind clarifying the license? Thanks!

`org.incava.diffj.lang.DiffJException: Error parsing /tmp/Owner-8b625617cb24353ee906fab080c7677a6ec37870.java: Encountered " ">" "> ""` On that line: `this.pets = new HashSet();`

Hello, please apply following, and run the test: https://gist.github.com/shpelda/9177654 diffj will crash with java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.incava.diffj.code.StatementList.getRangeAt(StatementList.java:50) at org.incava.diffj.code.StatementListDifferenceAdd.getFromRange(StatementListDifferenceAdd.java:22) at org.incava.diffj.code.StatementListDifferenceDelta.process(StatementListDifferenceDelta.java:23)...