mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-06 22:15:06 +00:00
#631 - Partial Response : [Refactor] Rename GetDetails method by id.
This commit is contained in:
1 parent
f38119c565
commit
87d4853846
2 files changed
+2
-2
No files matched your search
@@ -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