1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-10 01:16:23 +00:00

Decrease some lines length

This commit is contained in:
davigonz 2016-12-14 13:39:18 +01:00
parent 274e0ec47b
commit 576231023b
2 changed files with 8 additions and 4 deletions

View File

@ -52,12 +52,14 @@ public class ChunkedUploadRemoteFileOperation extends UploadRemoteFileOperation
private static final String OC_CHUNK_X_OC_MTIME_HEADER = "X-OC-Mtime"; private static final String OC_CHUNK_X_OC_MTIME_HEADER = "X-OC-Mtime";
private static final String TAG = ChunkedUploadRemoteFileOperation.class.getSimpleName(); private static final String TAG = ChunkedUploadRemoteFileOperation.class.getSimpleName();
public ChunkedUploadRemoteFileOperation(String storagePath, String remotePath, String mimeType, String fileLastModifTimestamp){ public ChunkedUploadRemoteFileOperation(String storagePath, String remotePath, String mimeType,
String fileLastModifTimestamp){
super(storagePath, remotePath, mimeType, fileLastModifTimestamp); super(storagePath, remotePath, mimeType, fileLastModifTimestamp);
} }
public ChunkedUploadRemoteFileOperation( public ChunkedUploadRemoteFileOperation(
String storagePath, String remotePath, String mimeType, String requiredEtag, String fileLastModifTimestamp String storagePath, String remotePath, String mimeType, String requiredEtag,
String fileLastModifTimestamp
){ ){
super(storagePath, remotePath, mimeType, requiredEtag, fileLastModifTimestamp); super(storagePath, remotePath, mimeType, requiredEtag, fileLastModifTimestamp);
} }

View File

@ -77,14 +77,16 @@ public class UploadRemoteFileOperation extends RemoteOperation {
protected RequestEntity mEntity = null; protected RequestEntity mEntity = null;
public UploadRemoteFileOperation(String localPath, String remotePath, String mimeType, String fileLastModifTimestamp) { public UploadRemoteFileOperation(String localPath, String remotePath, String mimeType,
String fileLastModifTimestamp) {
mLocalPath = localPath; mLocalPath = localPath;
mRemotePath = remotePath; mRemotePath = remotePath;
mMimeType = mimeType; mMimeType = mimeType;
mFileLastModifTimestamp = fileLastModifTimestamp; mFileLastModifTimestamp = fileLastModifTimestamp;
} }
public UploadRemoteFileOperation(String localPath, String remotePath, String mimeType, String requiredEtag, String fileLastModifTimestamp) { public UploadRemoteFileOperation(String localPath, String remotePath, String mimeType,
String requiredEtag, String fileLastModifTimestamp) {
this(localPath, remotePath, mimeType, fileLastModifTimestamp); this(localPath, remotePath, mimeType, fileLastModifTimestamp);
mRequiredEtag = requiredEtag; mRequiredEtag = requiredEtag;
} }