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

Guoxiong Li gli at openjdk.java.net
Wed Dec 1 16:39:11 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:

  Encapsulate the csrLink method.

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

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

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

  Stats: 16 lines in 2 files changed: 10 ins; 4 del; 2 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