From 9c2e2faa6b44227afa6ea847481fbe29436a95d6 Mon Sep 17 00:00:00 2001 From: shankar-ganesh-ebay <42353150+shankar-ganesh-ebay@users.noreply.github.com> Date: Wed, 10 Apr 2019 15:52:27 -0700 Subject: [PATCH] Fix for setting level 2 categories Using command line, the level 2 categories filter was not being set correctly. Fixing the typo so that level 2 categories are read from command line and set to the appropriate list. --- src/main/java/com/ebay/feed/cli/FeedCli.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ebay/feed/cli/FeedCli.java b/src/main/java/com/ebay/feed/cli/FeedCli.java index ba041ed..d78a3ac 100644 --- a/src/main/java/com/ebay/feed/cli/FeedCli.java +++ b/src/main/java/com/ebay/feed/cli/FeedCli.java @@ -217,7 +217,7 @@ public static void main(String[] args) throws Exception { if (cmd.hasOption("c2f")) filterRequest.setLevelTwoCategories(new HashSet(Arrays.asList(cmd - .getOptionValues("c3f")))); + .getOptionValues("c2f")))); if (cmd.hasOption("sellerf")) filterRequest.setSellerNames(new HashSet(