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

TAKETODAY / today-infrastructure / 18239483914

04 Oct 2025 04:13AM UTC coverage: 81.886% (-0.003%) from 81.889%
18239483914

push

github

TAKETODAY
:fire: Remove unused SHA-1 hash from UNPACK markers

In InfraZipCopyAction and AbstractJarWriter, SHA-1 hash is calculated for
stored entries requiring unpack and set as entry comment. However, the
hash isn't used anywhere, just the marker prefix 'UNPACK:' is checked.

This commit removes the unnecessary SHA-1 hash calculation which reads
the file completely in memory, potentially three times in extreme cases.
Now the comment is simply set to 'UNPACK:' without any hash, improving
performance.

59818 of 78041 branches covered (76.65%)

Branch coverage included in aggregate %.

141260 of 167516 relevant lines covered (84.33%)

3.6 hits per line

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

82.51
today-context/src/main/java/infra/app/context/config/ConfigDataEnvironment.java


Source Not Available

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

© 2026 Coveralls, Inc