From fc2fd4a903b4b2cc8869bfc113480d1bb5d744b2 Mon Sep 17 00:00:00 2001 From: Björn Hagemeister Date: Mon, 22 Sep 2014 18:09:39 +0200 Subject: Adapted files to new filetransfer. --- .../org/openslx/satellitedaemon/filetransfer/ThriftConnection.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java') diff --git a/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java b/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java index 22f270a..a719c21 100644 --- a/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java +++ b/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java @@ -246,8 +246,7 @@ public class ThriftConnection { * * @return returns 'null' if there is a problem. */ - public static DownloadInfos getDownloadInfos(DbImage imDat, - List range) { + public static DownloadInfos getDownloadInfos(DbImage imDat) { ImageServer.Client theClient = null; try { theClient = getConnection(); @@ -256,7 +255,7 @@ public class ThriftConnection { return null; } - return theClient.getImage(imDat.guid, sSD.sessionId, range); + return theClient.getImage(imDat.guid, sSD.sessionId); } catch (ImageDataException e) { if (e.isSetNumber() && e.getNumber().equals(ImageDataError.INVALID_DATA)) { -- cgit v1.2.3-55-g7522