Changeset 9896 for extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/search/DialogChooseCategory.java
- Timestamp:
- Mar 27, 2011, 1:11:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/search/DialogChooseCategory.java
r9894 r9896 165 165 List<File> alreadyExistingFiles = new ArrayList<File>(); 166 166 List<File> unExceptedFilesError = new ArrayList<File>(); 167 //loop on all files to send. 168 //if there is a WrongChunkSizeException, the loop stops 169 //if there is a FileAlreadyExistsException or an Exception 170 //the file is just added to a list to display the error messages 171 //at the end of the loop 167 172 for (File file : filesToSend) { 168 173 try { … … 188 193 } 189 194 } 195 //searches for FileAlreadyExistsException and displays a message dialog 196 //with the name of the file 190 197 if (alreadyExistingFiles.size() != 0) { 191 198 StringBuffer list = new StringBuffer(); … … 198 205 } 199 206 207 //searches for Exception and displays a message dialog 208 //with the name of the file 200 209 if (unExceptedFilesError.size() != 0) { 201 210 StringBuffer list = new StringBuffer();
Note: See TracChangeset
for help on using the changeset viewer.