mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-28 17:07:49 +00:00 
			
		
		
		
	Reorder variables
This commit is contained in:
		
							parent
							
								
									d0d26b7a3b
								
							
						
					
					
						commit
						e6835b1518
					
				| @ -75,7 +75,18 @@ import okhttp3.Response; | |||||||
| 
 | 
 | ||||||
| public class MainActivity extends Activity implements OnRemoteOperationListener, OnDatatransferProgressListener { | public class MainActivity extends Activity implements OnRemoteOperationListener, OnDatatransferProgressListener { | ||||||
| 	 | 	 | ||||||
| 	private static String LOG_TAG = MainActivity.class.getCanonicalName();   | 	private static String LOG_TAG = MainActivity.class.getCanonicalName(); | ||||||
|  | 
 | ||||||
|  | 	private static final String NODE_VERSION = "version"; | ||||||
|  | 	private static final String WEBDAV_PATH_4_0 = "/remote.php/webdav/"; | ||||||
|  | 	private static final String NEW_WEBDAV_PATH = "/remote.php/dav/files/"; | ||||||
|  | 	private static final String OC_TOTAL_LENGTH_HEADER = "OC-Total-Length"; | ||||||
|  | 	private static final String OC_X_OC_MTIME_HEADER = "X-OC-Mtime"; | ||||||
|  | 	private static final String AUTHORIZATION_HEADER = "Authorization"; | ||||||
|  | 	private static final String USER_AGENT_HEADER = "User-Agent"; | ||||||
|  | 	private static final String CONTENT_TYPE_HEADER = "Content-Type"; | ||||||
|  | 	private static final String USER_AGENT_VALUE = "Mozilla/5.0 (Android) ownCloud-android/2.7.0"; | ||||||
|  | 	private static final String CONTENT_TYPE_VALUE = "multipart/form-data"; | ||||||
| 	 | 	 | ||||||
| 	private Handler mHandler; | 	private Handler mHandler; | ||||||
| 	 | 	 | ||||||
| @ -85,21 +96,6 @@ public class MainActivity extends Activity implements OnRemoteOperationListener, | |||||||
| 	 | 	 | ||||||
| 	private View mFrame; | 	private View mFrame; | ||||||
| 
 | 
 | ||||||
| 	private static final String NODE_VERSION = "version"; |  | ||||||
| 
 |  | ||||||
| 	private static final String WEBDAV_PATH_4_0 = "/remote.php/webdav/"; |  | ||||||
| 
 |  | ||||||
| 	private static final String NEW_WEBDAV_PATH = "/remote.php/dav/files/"; |  | ||||||
| 
 |  | ||||||
| 	private static final String OC_TOTAL_LENGTH_HEADER = "OC-Total-Length"; |  | ||||||
| 	private static final String OC_X_OC_MTIME_HEADER = "X-OC-Mtime"; |  | ||||||
|     private static final String AUTHORIZATION_HEADER = "Authorization"; |  | ||||||
|     private static final String USER_AGENT_HEADER = "User-Agent"; |  | ||||||
|     private static final String CONTENT_TYPE_HEADER = "Content-Type"; |  | ||||||
| 
 |  | ||||||
| 	private static final String USER_AGENT_VALUE = "Mozilla/5.0 (Android) ownCloud-android/2.7.0"; |  | ||||||
| 	private static final String CONTENT_TYPE_VALUE = "multipart/form-data"; |  | ||||||
| 
 |  | ||||||
| 	private OkHttpClient mOkHttpClient; | 	private OkHttpClient mOkHttpClient; | ||||||
| 
 | 
 | ||||||
| 	private String mCredentials; | 	private String mCredentials; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user