Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Map<Bookstore, List<Book>> chooseGetterImplementationByCategory(CategoryType categoryType) {
- String URL = "";
- if (categoryType.equals(CategoryType.CRIME))
- URL =
- if (categoryType.equals(CategoryType.ROMANCES))
- URL =
- if (categoryType.equals(CategoryType.FANTASY))
- URL =
- if (categoryType.equals(CategoryType.GUIDES))
- URL =
- if (categoryType.equals(CategoryType.BIOGRAPHY))
- URL = empikUrlProperties.getEmpik().getBiographies();
- return URL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement