trivial changes
code compiles and fix TextDetectorTest
fix some tests for TIKA-1208
TIKA-1208
TIKA-1208