From: David ‘Bombe’ Roden Date: Sun, 10 Apr 2011 10:40:15 +0000 (+0200) Subject: Write end marker after albums. X-Git-Tag: beta-freefall-0.6.2-1~63 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=eef0d7c1f6624cb4d94ebb56571486eb75324eef;p=Sone.git Write end marker after albums. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 699d5b7..4e3df64 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1454,6 +1454,7 @@ public class Core implements IdentityListener, UpdateListener { configuration.getStringValue(albumPrefix + "/Description").setValue(album.getDescription()); configuration.getStringValue(albumPrefix + "/Parent").setValue(album.getParent() == null ? null : album.getParent().getId()); } + configuration.getStringValue(sonePrefix + "/Albums/" + albumCounter + "/ID").setValue(null); /* save options. */ configuration.getBooleanValue(sonePrefix + "/Options/AutoFollow").setValue(sone.getOptions().getBooleanOption("AutoFollow").getReal());