@Test public void testConvertToJava() { assertEquals((Object) ' ', converter.convertToJava(null)); assertEquals((Object) ' ', converter.convertToJava(" ")); assertEquals((Object) 'A', converter.convertToJava("A")); assertEquals((Object) 'A', converter.convertToJava("AB")); }
public Character convertToJava(String sapValue) { if (StringUtils.isEmpty(sapValue)) { return ' '; } return sapValue.charAt(0); }
CharConverter implements Converter<Character, String> { public Character convertToJava(String sapValue) { if (StringUtils.isEmpty(sapValue)) { return ' '; } return sapValue.charAt(0); } }
CharConverter implements Converter<Character, String> { public Character convertToJava(String sapValue) { if (StringUtils.isEmpty(sapValue)) { return ' '; } return sapValue.charAt(0); }  }
CharConverter implements Converter<Character, String> { public Character convertToJava(String sapValue) { if (StringUtils.isEmpty(sapValue)) { return ' '; } return sapValue.charAt(0); }  Character convertToJava(String sapValue); String convertToSap(Character javaValue); }
CharConverter implements Converter<Character, String> { public Character convertToJava(String sapValue) { if (StringUtils.isEmpty(sapValue)) { return ' '; } return sapValue.charAt(0); }  Character convertToJava(String sapValue); String convertToSap(Character javaValue);  }