}
@Override
protected void onProfileEndingLine(String prevProfileName) {
// Check whether we need to insert new properties into this profile
Profile modifiedProfile = newProfiles.get(prevProfileName);
if (modifiedProfile != null) {
for (Entry<String, String> entry : modifiedProfile.getProperties().entrySet()) {
String propertyKey = entry.getKey();
String propertyValue = entry.getValue();
if ( !existingProfileProperties.get(prevProfileName).contains(propertyKey) ) {
writeProperty(propertyKey, propertyValue);
}