From 698796df0f1319e5f20da7ed6e28f749c299ce37 Mon Sep 17 00:00:00 2001 From: Björn Hagemeister Date: Thu, 9 Oct 2014 15:54:23 +0200 Subject: Adapted DbImage to changes of type of operatingSystem. --- src/main/java/org/openslx/imagemaster/db/DbImage.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/openslx/imagemaster/db/DbImage.java b/src/main/java/org/openslx/imagemaster/db/DbImage.java index ca3265f..1c7ba16 100644 --- a/src/main/java/org/openslx/imagemaster/db/DbImage.java +++ b/src/main/java/org/openslx/imagemaster/db/DbImage.java @@ -25,7 +25,7 @@ public class DbImage public final long updateTime; public final int ownerId; public final String ownerLogin; - public final String operatingSystem; + public final int operatingSystem; public final boolean isValid; public final boolean isDeleted; public final String longDescription; @@ -42,7 +42,7 @@ public class DbImage this.updateTime = 0; this.ownerId = 0; this.ownerLogin = null; - this.operatingSystem = null; + this.operatingSystem = 0; this.isValid = false; this.isDeleted = false; this.longDescription = null; @@ -51,7 +51,7 @@ public class DbImage } public DbImage( String uuid, int imageVersion, String imageName, String imagePath, - long imageCreateTime, long imageUpdateTime, int imageOwnerId, String imageOwnerLogin, String contentOperatingSystem, + long imageCreateTime, long imageUpdateTime, int imageOwnerId, String imageOwnerLogin, int contentOperatingSystem, boolean isValid, boolean isDeleted, String longDescription, long fileSize, String missingBlocksList ) { -- cgit v1.2.3-55-g7522