From: David ‘Bombe’ Roden Date: Tue, 25 Jan 2011 19:49:40 +0000 (+0100) Subject: Save Sone after inserting it. X-Git-Tag: 0.4.3^2~8 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=94a58c591d942918b1f7f25c04be04102cd5156d;p=Sone.git Save Sone after inserting it. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java index c31be8a..2133b56 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java @@ -212,6 +212,7 @@ public class SoneInserter extends AbstractService { } sone.setTime(insertTime); sone.setLatestEdition(finalUri.getEdition()); + core.saveSone(sone); success = true; logger.log(Level.INFO, "Inserted Sone “%s” at %s.", new Object[] { sone.getName(), finalUri }); } catch (SoneException se1) {