mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 22:58:36 +00:00
#631 - Partial Response : [Refactor] Rename GetDetails method by id.
This commit is contained in:
@@ -33,7 +33,7 @@ public class VideoResource {
|
||||
this.videos = videos;
|
||||
}
|
||||
|
||||
public String getDenials(String id) {
|
||||
public String getDetails(String id) {
|
||||
return videos.get(id).toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user