Skip to content

Commit 59703e1

Browse files
committed
iRODS: Rename source file to align with other source files
1 parent 20bac4a commit 59703e1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

irods/src/main/java/ch/cyberduck/core/irods/ChunkWorker.java renamed to irods/src/main/java/ch/cyberduck/core/irods/IRODSChunkWorker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
import org.irods.irods4j.high_level.io.IRODSDataObjectStream.SeekDirection;
99
import org.irods.irods4j.low_level.api.IRODSException;
1010

11-
public class ChunkWorker implements Runnable{
11+
public class IRODSChunkWorker implements Runnable{
1212
private final Object stream;
1313
private final RandomAccessFile file;
1414
private final long offset;
1515
private final long chunkSize;
1616
private final byte[] buffer;
17-
public ChunkWorker(Object stream, String localfilePath,long offset, long chunkSize, int bufferSize) throws IOException, IRODSException {
17+
public IRODSChunkWorker(Object stream, String localfilePath, long offset, long chunkSize, int bufferSize) throws IOException, IRODSException {
1818
this.stream= stream;
1919
this.file=new RandomAccessFile(localfilePath,"rw");
2020
this.offset=offset;

irods/src/main/java/ch/cyberduck/core/irods/IRODSDownloadFeature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void download(final Read read, final Path file, final Local local, final
108108
final long start = i * chunkSize;
109109
final PoolConnection conn = pool.getConnection();
110110
IRODSDataObjectInputStream stream = new IRODSDataObjectInputStream(conn.getRcComm(), replicaToken, replicaNumber);
111-
ChunkWorker worker = new ChunkWorker(
111+
IRODSChunkWorker worker = new IRODSChunkWorker(
112112
stream,
113113
local.getAbsolute(),
114114
start,

irods/src/main/java/ch/cyberduck/core/irods/IRODSUploadFeature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public Checksum upload(final Path file, final Local local, final BandwidthThrott
9999
final PoolConnection conn = pool.getConnection();
100100
IRODSDataObjectOutputStream stream = new IRODSDataObjectOutputStream();
101101
stream.open(conn.getRcComm(), file.getAbsolute(),replicaToken,replicaNumber, truncate, append);
102-
ChunkWorker worker = new ChunkWorker(
102+
IRODSChunkWorker worker = new IRODSChunkWorker(
103103
stream,
104104
local.getAbsolute(),
105105
start,

0 commit comments

Comments
 (0)