(String... texts)
| 99 | } |
| 100 | |
| 101 | private String getPath(String... texts) { |
| 102 | List<String> items = new ArrayList<>(); |
| 103 | for (String text : texts) if (!TextUtils.isEmpty(text)) items.add(text); |
| 104 | return TextUtils.join("/", items); |
| 105 | } |
| 106 | |
| 107 | private List<FileIdBothDirectoryInformation> getList(Drive drive, String path) { |
| 108 | List<FileIdBothDirectoryInformation> items = drive.getShare().list(getPath(drive.getSubPath(), path)); |
no outgoing calls
no test coverage detected