• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

INRIA / spoon / #18537

30 Aug 2026 10:55AM UTC coverage: 88.149% (+0.003%) from 88.146%
#18537

push

github

web-flow
fix: use expression lambdas for single-statement block lambdas (#6872)

In the scope of checkstyle/checkstyle#20692

Expression lambdas are preferred over single-line block lambdas for
readability and conciseness (as recommended by the OpenJDK Java Style
Guidelines).

Changes 2 single-statement block lambdas like:
  s -> { return s; }
to:
  s -> s

Co-authored-by: Carbon14-48 <Carbon14-48@users.noreply.github.com>

1 of 2 new or added lines in 2 files covered. (50.0%)

30653 of 34774 relevant lines covered (88.15%)

0.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.16
/src/main/java/spoon/reflect/visitor/DefaultJavaPrettyPrinter.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc