瀏覽代碼

remove lint warnings

AndyScherzinger 7 年之前
父節點
當前提交
5e3eb1e0bb
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 2
      src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java
  2. 1 0
      src/main/res/values/strings.xml

+ 1 - 2
src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java

@@ -409,8 +409,7 @@ public class ErrorMessageAdapter {
         } else if (operation instanceof DownloadFileOperation) {
             message = String.format(
                     res.getString(R.string.downloader_download_failed_content),
-                    new File(((DownloadFileOperation) operation).getSavePath()).getName()
-            );
+                    new File(((DownloadFileOperation) operation).getSavePath()).getName());
 
         } else if (operation instanceof RemoveFileOperation) {
             message = res.getString(R.string.remove_fail_msg);

+ 1 - 0
src/main/res/values/strings.xml

@@ -110,6 +110,7 @@
     <string name="file_list_empty_text_photos_filter">Your search returned no photos.</string>
     <string name="file_list_empty_text_videos">Upload some videos or activate auto upload.</string>
     <string name="file_list_empty_text_videos_filter">Your search returned no videos.</string>
+    <string name="file_item_metadata_separator" translatable="false">,</string>
     <string name="upload_list_empty_headline">No uploads available</string>
     <string name="upload_list_empty_text">Upload some content or activate instant uploading.</string>
     <string name="upload_list_empty_text_auto_upload">Upload some content or activate auto upload.</string>