File tree Expand file tree Collapse file tree
src/main/java/com/simplesteph/kafka Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,8 +197,9 @@ public void stop() {
197197 }
198198
199199 private Map <String , String > sourcePartition () {
200- Map <String , String > map = Collections .singletonMap (FULL_REPO_FIELD ,
201- config .getOwnerConfig () + "/" + config .getRepoConfig ());
200+ Map <String , String > map = new HashMap <>();
201+ map .put (OWNER_FIELD , config .getOwnerConfig ());
202+ map .put (REPOSITORY_FIELD , config .getRepoConfig ());
202203 return map ;
203204 }
204205
Original file line number Diff line number Diff line change @@ -410,7 +410,6 @@ public static Issue fromJson(JSONObject jsonObject) {
410410
411411 // pull request is an optional fields
412412 if (jsonObject .has ("pull_request" )){
413- System .out .println ("pull!" );
414413 PullRequest pullRequest = PullRequest .fromJson (jsonObject .getJSONObject ("pull_request" ));
415414 issue .withPullRequest (pullRequest );
416415 }
You can’t perform that action at this time.
0 commit comments