summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Hagemeister2014-10-09 15:54:23 +0200
committerBjörn Hagemeister2014-10-09 15:54:23 +0200
commit698796df0f1319e5f20da7ed6e28f749c299ce37 (patch)
treedd7dfa8fef61395a628d78d731ef686c335d3338
parentAdded update option in DbUser.java plus added deleted globals.properties.exam... (diff)
downloadmasterserver-698796df0f1319e5f20da7ed6e28f749c299ce37.tar.gz
masterserver-698796df0f1319e5f20da7ed6e28f749c299ce37.tar.xz
masterserver-698796df0f1319e5f20da7ed6e28f749c299ce37.zip
Adapted DbImage to changes of type of operatingSystem.
-rw-r--r--src/main/java/org/openslx/imagemaster/db/DbImage.java6
1 files 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 )
{