retrofit-converters/simplexml/src/main/java/retrofit2/converter/simplexml/SimpleXmlConverterFactory.java
@SuppressWarnings("ConstantConditions") // Guarding public API nullability.
  public static SimpleXmlConverterFactory createNonStrict(Serializer serializer) {
    if (serializer == null) throw new NullPointerException("serializer == null");
    return new SimpleXmlConverterFactory(serializer, false);
  }
@SuppressWarnings("ConstantConditions") // Guarding public API nullability.
  public static SimpleXmlConverterFactory createNonStrict(Serializer serializer) {
    if (serializer == null) throw new NullPointerException("serializer == null");
    return new SimpleXmlConverterFactory(serializer, false);
  }
@ SuppressWarnings ( "ConstantConditions" ) // Guarding public API nullability. public static SimpleXmlConverterFactory createNonStrict ( Serializer serializer ) { if ( serializer == null ) throw new NullPointerException ( "serializer == null" ) ; return new SimpleXmlConverterFactory ( serializer , false ) ; }
Create an instance using {@code serializer} for non-strict conversion.
Create an instance using {