/** * The ref lease specs to be used in the push operation, for a * force-with-lease push operation. * * @param specs * a {@link org.eclipse.jgit.transport.RefLeaseSpec} object. * @return {@code this} * @since 4.7 */ public PushCommand setRefLeaseSpecs(RefLeaseSpec... specs) { return setRefLeaseSpecs(Arrays.asList(specs)); }
/** * The ref lease specs to be used in the push operation, for a * force-with-lease push operation. * * @param specs * a {@link org.eclipse.jgit.transport.RefLeaseSpec} object. * @return {@code this} * @since 4.7 */ public PushCommand setRefLeaseSpecs(RefLeaseSpec... specs) { return setRefLeaseSpecs(Arrays.asList(specs)); }