Skip to content

DiffJ compares without taking code location into consideration #8

@VladyslavBondarenko

Description

@VladyslavBondarenko

DiffJ v1.6.4. When I compare the file to itself - DiffJ finds differences.

class MyClass {
    static {
        int a = 1;
    }
    static {
    	int b = 2;
    }
}

Output:

test.java <=> test.java
3c6 code changed in static block
<         int a = 1;
---
>     	int b = 2;

6c3 code changed in static block
<     	int b = 2;
---
>         int a = 1;

Related to #6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions