Changeset 31355 for other-projects/hathitrust/wcsa
- Timestamp:
- 2017-01-24T23:08:13+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/hathitrust/wcsa/vol-checker/src/org/hathitrust/extractedfeatures/VolumeCheck.java
r31354 r31355 256 256 String cgi_convert_col = request.getParameter("convert-col"); 257 257 258 System.err.println("**** cgi_ids = '" + cgi_ids + "'");259 System.err.println("**** cgi_convert_col = '" + cgi_convert_col + "'");260 261 258 if (cgi_ids != null) { 262 259 response.setContentType("application/json"); … … 270 267 for (int i=0; i<ids_len; i++) { 271 268 String id = ids[i]; 272 273 boolean exists = id_check_. get(id);269 270 boolean exists = id_check_.containsKey(id); 274 271 275 272 if (i>0) { … … 286 283 287 284 String id = cgi_id; 288 boolean exists = id_check_. get(id);285 boolean exists = id_check_.containsKey(id); 289 286 pw.append("{'" + id + "':" + exists + "}"); 290 287 } 291 288 else if (cgi_download_id != null) { 292 289 String download_id = cgi_download_id; 293 boolean exists = id_check_. get(download_id);290 boolean exists = id_check_.containsKey(download_id); 294 291 if (!exists) { 295 292 // Error
Note:
See TracChangeset
for help on using the changeset viewer.