Several hidden bugfixes around Track.Id

This commit is contained in:
Román
2020-09-09 17:34:44 +02:00
committed by Dennis Guse
parent a61468d600
commit a6e275f8aa
6 changed files with 7 additions and 7 deletions
@@ -231,7 +231,7 @@ abstract class AbstractFileTrackImporter extends DefaultHandler implements Track
trackId = new Track.Id(Long.parseLong(uri.getLastPathSegment()));
} else {
if (trackIds.size() > 0) {
throw new SAXException(createErrorMessage("Cannot import more than one track to an existing track " + importTrackId));
throw new SAXException(createErrorMessage("Cannot import more than one track to an existing track " + importTrackId.getId()));
}
trackId = importTrackId;
contentProviderUtils.clearTrack(trackId);