Permalink
Browse files

Removing updateUserProfile method

  • Loading branch information...
1 parent e467bb5 commit 9a33234f749ab1672a44493f7cd29589bad5ef81 @michaellavelle committed Sep 8, 2011
@@ -9,7 +9,6 @@
public interface UserOperations {
public SoundCloudProfile getUserProfile();
- public void updateUserProfile(SoundCloudProfile profile);
public List<Track> getFavorites();
public List<Track> getTracks();
@@ -21,20 +21,12 @@ protected String getApiResourceBaseUrl() {
return getApiBaseUrl() + getUsersResourcePrefix();
}
-
@Override
public void favoriteTrack(long trackId) {
restTemplate.put(getApiResourceUrl("/favorites/" + trackId),null);
}
-
- @Override
- public void updateUserProfile(SoundCloudProfile profile) {
- restTemplate.put(getApiResourceUrl(""), profile);
- }
-
-
@Override
public SoundCloudProfile getUserProfile() {
return restTemplate.getForObject(getApiResourceUrl(""), SoundCloudProfile.class);

0 comments on commit 9a33234

Please sign in to comment.