diff --git a/src/helma/objectmodel/DbKey.java b/src/helma/objectmodel/DbKey.java index b5fb83ed..be635d25 100644 --- a/src/helma/objectmodel/DbKey.java +++ b/src/helma/objectmodel/DbKey.java @@ -57,7 +57,7 @@ public final class DbKey implements Key, Serializable { public String toString () { - return storageName+"["+id+"]"; + return storageName == null ? "["+id+"]" : storageName+"["+id+"]"; }