litesoft
Diff Revisions
24
vs
49
for /trunk/Java/core/Server/src/org/litesoft/filesinksource/FileSystemFileSinkAndSourceFactory.java
|
@@ -1,3 +1,4 @@ |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
1 |
2 |
|
package org.litesoft.filesinksource; |
2 |
3 |
|
|
3 |
4 |
|
import org.litesoft.util.*; |
|
@@ -43,7 +44,7 @@ |
43 |
44 |
|
public String put( InputStream pInputStream ) throws IOException |
44 |
45 |
|
{ |
45 |
46 |
|
final File zFile = getAvailableName( pInputStream ); // Will close pInputStream if problem |
46 |
|
- |
Utils.copy( pInputStream, new OutputStreamFactory() // closes pInputStream |
|
47 |
+ |
Utils.copy( pInputStream, new OutputStreamFactory() // closes pInputStream |
47 |
48 |
|
{ |
48 |
49 |
|
@Override |
49 |
50 |
|
public OutputStream createOutputStream() |