Rename Lengthed interface to WithLength
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ClientPutCommandImpl.java
index d401f8d..44850af 100644 (file)
@@ -66,7 +66,7 @@ class ClientPutCommandImpl implements ClientPutCommand {
        }
 
        @Override
-       public Lengthed<WithUri<Optional<Key>>> from(InputStream inputStream) {
+       public WithLength<WithUri<Optional<Key>>> from(InputStream inputStream) {
                payload.set(Objects.requireNonNull(inputStream, "inputStream must not be null"));
                return this::length;
        }