Changeset 4457
- Timestamp:
- Mar 20, 2013, 1:36:40 PM (10 years ago)
- Location:
- trunk/client/servlet/src/org/proteios/action
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/extract/CreateExtractFile.java
r2479 r4457 63 63 List<Integer> files = getValidIntegerList(FormFactory.VID); 64 64 Integer bmId = getSessionAttribute(ViewActiveExtract.VEXTRACTID); 65 if (files .isEmpty())65 if (files == null || files.isEmpty()) 66 66 throw new InvalidParameterException( 67 67 "Please select at least one file to use for annotation"); -
trunk/client/servlet/src/org/proteios/action/extract/CreateLabeledExtractFile.java
r2479 r4457 63 63 List<Integer> files = getValidIntegerList(FormFactory.VID); 64 64 Integer bmId = getSessionAttribute(ViewActiveLabeledExtract.VLABELEDEXTRACTID); 65 if (files .isEmpty())65 if (files == null || files.isEmpty()) 66 66 throw new InvalidParameterException( 67 67 "Please select at least one file to use for annotation"); -
trunk/client/servlet/src/org/proteios/action/sample/CreateSampleFile.java
r2153 r4457 39 39 List<Integer> files = getValidIntegerList(FormFactory.VID); 40 40 Integer bmId = getSessionAttribute(ViewActiveSample.VSAMPLEID); 41 if (files .isEmpty())41 if (files == null || files.isEmpty()) 42 42 throw new InvalidParameterException( 43 43 "Please select at least one file to use for annotation");
Note: See TracChangeset
for help on using the changeset viewer.