Rename method.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 15:07:51 +0000 (17:07 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 15:07:51 +0000 (17:07 +0200)
src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java

index c0d458f..482e717 100644 (file)
@@ -85,7 +85,7 @@ public class DataManager {
                return database.getMultiple(query, artistCreator);
        }
 
-       public Track trackById(String id) throws DatabaseException {
+       public Track getTrackById(String id) throws DatabaseException {
                Query query = new Query(Type.SELECT, "TRACKS");
                query.addField(new Field("TRACKS.*"));
                query.addWhereClause(new ValueFieldWhereClause(new ValueField("TRACKS.ID", new StringParameter(id))));