Changeset 1749
- Timestamp:
- Nov 28, 2012, 8:05:04 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/SampleReportServlet.java
r1748 r1749 212 212 } 213 213 214 @SuppressWarnings("unchecked") 214 215 private JSONObject createSampleCountReport(DbControl dc, JSONObject json, Date startDate, Date endDate, String viewType, String sampleType) 215 216 throws ServletException, IOException … … 265 266 } 266 267 268 @SuppressWarnings({ "unchecked", "rawtypes" }) 267 269 private JSONObject createPatientCountReport(DbControl dc, JSONObject json, Date startDate, Date endDate, String viewType) 268 270 throws ServletException, IOException … … 377 379 } 378 380 381 @SuppressWarnings({ "unchecked", "rawtypes" }) 379 382 private JSONObject createConsentCountReport(DbControl dc, JSONObject json, Date startDate, Date endDate) 380 383 throws ServletException, IOException … … 459 462 { 460 463 Sample s = sampleIterator.next(); 464 /* 461 465 BioMaterialEvent creationEvent = s.getCreationEvent(); 462 466 Date creationDate = creationEvent.getEventDate(); 467 */ 463 468 464 469 Site site = Site.findByCaseName(s.getName()); … … 659 664 } 660 665 666 @SuppressWarnings({ "unchecked", "rawtypes" }) 661 667 private JSONObject updateJSONItemnameItemid(JSONObject jsonObject, BioMaterial item) 662 668 { … … 751 757 } 752 758 759 @SuppressWarnings("unchecked") 753 760 private JSONObject createJSONPatientsWithMultipleDates(HashMap<String, Set<Date>> stringDateSetHashMap) 754 761 { … … 785 792 } 786 793 794 @SuppressWarnings("unchecked") 787 795 private JSONObject createJSONStatistics(Iterator<Sample> sampleIterator, Date startDate, Date endDate, String viewType) 788 796 throws ServletException, IOException … … 885 893 } 886 894 895 @SuppressWarnings("unchecked") 887 896 private JSONObject updateJSONObjectCounter(JSONObject jsonObject, String key) 888 897 { … … 898 907 } 899 908 909 @SuppressWarnings("unchecked") 900 910 private JSONObject initializeJSONSiteData(JSONObject jsonSiteContainerObject, String key) 901 911 { … … 919 929 } 920 930 931 @SuppressWarnings("unchecked") 921 932 private JSONObject initializeJSONPeriodData(JSONObject jsonObject, Date startDate, Date endDate, Date dataStartDate, String viewType) 922 933 { … … 951 962 * @return String A JSONObject with sort index as key and site prefix as value. 952 963 */ 964 @SuppressWarnings("unchecked") 953 965 private JSONObject createJSONSiteOrderList(String order) 954 966 { … … 969 981 * @return List<String> list of site name prefixes sorted after specified order. 970 982 */ 983 @SuppressWarnings("rawtypes") 971 984 private List<String> createSiteOrderedList(String order) 972 985 { … … 1108 1121 } 1109 1122 1123 @SuppressWarnings("unused") 1110 1124 private List<Date> createSortedPeriodStartDateList(Date startDate, Date endDate, String viewType) 1111 1125 {
Note: See TracChangeset
for help on using the changeset viewer.