Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. private Map<Bookstore, List<Book>> chooseGetterImplementationByCategory(CategoryType categoryType) {
  2. String URL = "";
  3.  
  4. if (categoryType.equals(CategoryType.CRIME))
  5. URL =
  6. if (categoryType.equals(CategoryType.ROMANCES))
  7. URL =
  8. if (categoryType.equals(CategoryType.FANTASY))
  9. URL =
  10. if (categoryType.equals(CategoryType.GUIDES))
  11. URL =
  12. if (categoryType.equals(CategoryType.BIOGRAPHY))
  13. URL = empikUrlProperties.getEmpik().getBiographies();
  14.  
  15. return URL;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement