It's possible that the entry will have already been partially for some
other reason, so we need to make sure the songs are loaded. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1385 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Model.java,v 1.5 2001/09/21 03:09:01 mdb Exp $
|
||||
// $Id: Model.java,v 1.6 2004/01/28 02:35:39 mdb Exp $
|
||||
|
||||
package robodj.repository;
|
||||
|
||||
@@ -82,6 +82,8 @@ public class Model
|
||||
if (entry != null) {
|
||||
_entries.put(entryid, entry);
|
||||
}
|
||||
} else if (entry.songs == null) {
|
||||
populateSongs(entry);
|
||||
}
|
||||
return entry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user