protected Configuration load() throws IOException {
if (!configurationFile.exists()) {
return new Configuration();
}
final Configuration result = ModelloUtils.load(Configuration.MODEL_VERSION, this.configurationFile,
kenaiRealmModelReader, new ModelloModelUpgrader("1.0.0", Configuration.MODEL_VERSION)
{
@Override
public void doUpgrade(final Reader reader, final Writer writer) throws IOException, XmlPullParserException {
// no model structure change, merely the version
final Configuration conf = new KenaiRealmConfigurationXpp3Reader().read(reader);