summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Hagemeister2014-10-09 15:55:07 +0200
committerBjörn Hagemeister2014-10-09 15:55:07 +0200
commit3dce0f25e0cefbeb2a3e4494cb01ea1c4db7ae4f (patch)
treeaca46e6912ca2db10f96fefca2a61df682303980
parentNesseccary cast from int to String for contentOperatingSystem from db. (diff)
downloadsatellite-daemon-3dce0f25e0cefbeb2a3e4494cb01ea1c4db7ae4f.tar.gz
satellite-daemon-3dce0f25e0cefbeb2a3e4494cb01ea1c4db7ae4f.tar.xz
satellite-daemon-3dce0f25e0cefbeb2a3e4494cb01ea1c4db7ae4f.zip
Adpated to type adaption of contentOperatingSystem.
-rw-r--r--src/main/java/org/openslx/satellitedaemon/filetransfer/FileUploadWorker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/satellitedaemon/filetransfer/FileUploadWorker.java b/src/main/java/org/openslx/satellitedaemon/filetransfer/FileUploadWorker.java
index c4d6ddf..156414d 100644
--- a/src/main/java/org/openslx/satellitedaemon/filetransfer/FileUploadWorker.java
+++ b/src/main/java/org/openslx/satellitedaemon/filetransfer/FileUploadWorker.java
@@ -32,7 +32,7 @@ public class FileUploadWorker implements Runnable
ImageData imDat = new ImageData(
image.guid, image.rid,
image.name, image.createTime, image.changeTime, image.creator,
- String.valueOf( image.contentOperatingSystem), image.isValid, image.isDeleted, "best", image.fileSize );
+ image.contentOperatingSystem, image.isValid, image.isDeleted, "best", image.fileSize );
String path = Globals.getImageFolder() + "/" + image.path;