소스 검색

test integration fix

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793733 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_3_17_BETA1
Andreas Beeker 7 년 전
부모
커밋
3c69708b20
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java

+ 3
- 1
src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java 파일 보기

@@ -401,11 +401,13 @@ public class CopyCompare
final String name,
final DocumentInputStream stream)
throws IOException {
// create the directories to the document
final DirectoryEntry de = getPath(poiFs, path);
// check the parameters after the directories have been created
if (stream == null || name == null) {
// Empty directory
return;
}
final DirectoryEntry de = getPath(poiFs, path);
final ByteArrayOutputStream out = new ByteArrayOutputStream();
int c;
while ((c = stream.read()) != -1) {

Loading…
취소
저장