RFR: 1256: Use stream api to simplify the csr issue lookup [v5]

Guoxiong Li gli at openjdk.java.net
Wed Dec 1 19:01:48 UTC 2021


> Hi all,
> 
> This patch adds the common methods `Issue#linksWithRelationships`, `Issue#csrLink` and `Issue#csrIssue` and refactors the code to reduce the loop nested statements by using these common methods.
> 
> All the existing tests passed.
> 
> Best Regards,
> -- Guoxiong

Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:

  Fix the situation  when the csr issue not existing. Revise the reply message.

-------------

Changes:
  - all: https://git.openjdk.java.net/skara/pull/1248/files
  - new: https://git.openjdk.java.net/skara/pull/1248/files/03eb925e..83fa15f2

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=skara&pr=1248&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=skara&pr=1248&range=03-04

  Stats: 21 lines in 2 files changed: 0 ins; 8 del; 13 mod
  Patch: https://git.openjdk.java.net/skara/pull/1248.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/1248/head:pull/1248

PR: https://git.openjdk.java.net/skara/pull/1248


More information about the skara-dev mailing list