Community
Participate
Working Groups
Comparing two files, one containing: String withWhitespace = "with whitespace"; and the other containing String withWhitespace = "withwhitespace"; no differences are indicated in Java Source Compare.
Works as designed: the text comparison does not know anything about Java. However, I will investigate what it means to make it Java-aware. (One problem is that the text comparison is strictly line oriented and this conflicts with Java-awareness). Changed severity to "enhancement"
This is not only a java related problem. I had the same kind of difficulty when merging a xml file. You can do the test with a simple text file containing (for example) the text: one word Compare with : oneword With the the option "ignore whitespace" turned on, no differences are indicated. A solution to this problem would to make to make the text comparison tool "word-aware" (via an option for example).
*** This bug has been marked as a duplicate of bug 257235 ***