cucumber.runtime.xstream.ShortConverter Maven / Gradle / Ivy
package cucumber.runtime.xstream;
import java.util.Locale;
class ShortConverter extends ConverterWithNumberFormat {
public ShortConverter(Locale locale) {
super(locale, new Class[]{Short.class, Short.TYPE});
}
@Override
protected Short downcast(Number argument) {
return argument.shortValue();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy