[Minor] Fixed code comment
This commit is contained in:
parent
8b1addd295
commit
c96ca434be
|
@ -316,7 +316,7 @@ public abstract class TransientElementMap<T extends StrolchRootElement> implemen
|
||||||
throw new StrolchPersistenceException(msg);
|
throw new StrolchPersistenceException(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
// assert no object already exists with this id
|
// assert object already exists with this id
|
||||||
if (!byType.containsKey(element.getId())) {
|
if (!byType.containsKey(element.getId())) {
|
||||||
String msg = "The element does not yet exist with the type \"{0}\" and id \"{1}\". Use add() for new objects!"; //$NON-NLS-1$
|
String msg = "The element does not yet exist with the type \"{0}\" and id \"{1}\". Use add() for new objects!"; //$NON-NLS-1$
|
||||||
msg = MessageFormat.format(msg, element.getType(), element.getId());
|
msg = MessageFormat.format(msg, element.getType(), element.getId());
|
||||||
|
|
Loading…
Reference in New Issue