@Test public void testRemoveNbsp() { String bad = "needle&nbsp;"; Cell cell = new Cell(bad); assertEquals(CellComparatorHelper.getSanitizedStaticValue(cell), "needle"); }
static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); } }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }  }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }  static String getSanitizedStaticValue(Cell cell); static String getSanitizedStaticValue(String staticValue); static Comparator getAppropriateComparatorForPropertyClass(Class propClass); static Comparator getAppropriateValueComparatorForPropertyClass(Class propClass); }
CellComparatorHelper { static public String getSanitizedStaticValue(Cell cell) { if (null == cell) { return null; } return null == cell.getStaticValue() ? null : getSanitizedStaticValue(cell.getStaticValue().toString()); }  static String getSanitizedStaticValue(Cell cell); static String getSanitizedStaticValue(String staticValue); static Comparator getAppropriateComparatorForPropertyClass(Class propClass); static Comparator getAppropriateValueComparatorForPropertyClass(Class propClass);  }