decoder.close();
// Handle Base64 encoded string values
HashMap data = new Base64GetHashMap(h);
float oldversion = ((Float) data.get(UpgradeableDataHashMap.VERSION)).floatValue();
ServiceConfiguration serviceConfiguration = new ServiceConfiguration();
serviceConfiguration.loadData(data);
if ( ((serviceConfiguration != null) && (Float.compare(oldversion, serviceConfiguration.getVersion()) != 0))) {
// Upgrade in version 4 of ServiceConfiguration. If we do not have nextRunTimeStamp and runTimeStamp set in
// the database, but we have them in serviceConfiguration, we will simply copy the values over.
// After this we will not use the values in ServiceConfiguration any more
final String NEXTRUNTIMESTAMP = "NEXTRUNTIMESTAMP";