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

Guoxiong Li gli at openjdk.java.net
Tue Nov 30 16:07:10 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:

  Use stream api instead of the encapsulated method.

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

Changes:
  - all: https://git.openjdk.java.net/skara/pull/1248/files
  - new: https://git.openjdk.java.net/skara/pull/1248/files/1118933c..2f640bd7

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

  Stats: 112 lines in 8 files changed: 8 ins; 89 del; 15 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