Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.topologi.diffx.config;

Defines how white spaces should be processed.

White space processing can have functional implications at all stages of diffing, including when loading and formatting.

Christophe Lauret
10 May 2010
public enum WhiteSpaceProcessing {

All white spaces should be completely ignored, this is the most efficient processing.

White spaces should be preserved, that is they will be loaded and returned during formatting, but the algorithm can consider them equivalent and will not report differences between white spaces.

White spaces should be preserved throughout the process and compared. All white space differences will be reported by the algorithm. This is the most costly processing.
New to GrepCode? Check out our FAQ X