- Timestamp:
- 05/28/13 09:48:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRUSimpleClient.java
r2944 r2945 571 571 throw new SRUClientException( 572 572 "error parsing explain record", e); 573 } finally { 574 /* 575 * make sure, we're deallocate the record reader in case of 576 * string record packing 577 */ 578 if (packing == SRURecordPacking.STRING) { 579 recordReader.closeCompletly(); 580 } 573 581 } 574 582 if (recordData == null) { … … 576 584 throw new SRUClientException( 577 585 "error parsing explain record"); 578 }579 if (packing == SRURecordPacking.STRING) {580 recordReader.closeCompletly();581 586 } 582 587 reader.consumeWhitespace(); … … 1024 1029 throw new SRUClientException( 1025 1030 "error parsing record", e); 1031 } finally { 1032 /* 1033 * make sure, we deallocate the record 1034 * reader in case of string record 1035 * packing 1036 */ 1037 if (packing == SRURecordPacking.STRING) { 1038 recordReader.closeCompletly(); 1039 } 1026 1040 } 1027 1041 if (recordData == null) { … … 1056 1070 schema + "' found."); 1057 1071 } 1058 }1059 1060 if (packing == SRURecordPacking.STRING) {1061 recordReader.closeCompletly();1062 1072 } 1063 1073
Note: See TracChangeset
for help on using the changeset viewer.