public static SizeFormatter get(final boolean decimal) { if(decimal) { return new ch.cyberduck.core.formatter.DecimalSizeFormatter(); } // Default is binary sizes return new ch.cyberduck.core.formatter.BinarySizeFormatter(); } }
public static SizeFormatter get(final boolean decimal) { if(decimal) { return new ch.cyberduck.core.formatter.DecimalSizeFormatter(); } // Default is binary sizes return new ch.cyberduck.core.formatter.BinarySizeFormatter(); } }