All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cucumber.runtime.converters.ShortConverter Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
package cucumber.runtime.converters;

import java.util.Locale;

public 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