From: David ‘Bombe’ Roden Date: Thu, 19 Apr 2012 15:07:51 +0000 (+0200) Subject: Rename method. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e01cbfaeb53bd55ab1844286f064fc3b603903b0;p=demoscenemusic.git Rename method. --- diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java index c0d458f..482e717 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java @@ -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))));