@Test public void testParseBooleanOrFalse_returnsFalseForNull() throws Exception { assertThat(ClientSpanBooleanTagProcessor.parseBooleanOrFalse(null)).isFalse(); }
public static Boolean parseBooleanOrFalse(String valueOrNull) { return "1".equals(valueOrNull) || Boolean.parseBoolean(valueOrNull); }
ClientSpanBooleanTagProcessor extends ClientSpanTagProcessor { public static Boolean parseBooleanOrFalse(String valueOrNull) { return "1".equals(valueOrNull) || Boolean.parseBoolean(valueOrNull); } }
ClientSpanBooleanTagProcessor extends ClientSpanTagProcessor { public static Boolean parseBooleanOrFalse(String valueOrNull) { return "1".equals(valueOrNull) || Boolean.parseBoolean(valueOrNull); } ClientSpanBooleanTagProcessor(String type, String tagName, String requestParameterName); }
ClientSpanBooleanTagProcessor extends ClientSpanTagProcessor { public static Boolean parseBooleanOrFalse(String valueOrNull) { return "1".equals(valueOrNull) || Boolean.parseBoolean(valueOrNull); } ClientSpanBooleanTagProcessor(String type, String tagName, String requestParameterName); static Boolean parseBooleanOrFalse(String valueOrNull); }
ClientSpanBooleanTagProcessor extends ClientSpanTagProcessor { public static Boolean parseBooleanOrFalse(String valueOrNull) { return "1".equals(valueOrNull) || Boolean.parseBoolean(valueOrNull); } ClientSpanBooleanTagProcessor(String type, String tagName, String requestParameterName); static Boolean parseBooleanOrFalse(String valueOrNull);  }