@@ -550,13 +550,13 @@ private void renderSectionDependencyFileDetails() {
550
550
551
551
if (JAR_SUBTYPE .contains (artifact .getType ().toLowerCase ())) {
552
552
try {
553
- JarData jarDetails = dependencies .getJarDependencyDetails (artifact );
553
+ JarData jarData = dependencies .getJarDependencyDetails (artifact );
554
554
555
- totalentries .addTotal (jarDetails .getNumEntries (), artifact .getScope ());
556
- totalclasses .addTotal (jarDetails .getNumClasses (), artifact .getScope ());
557
- totalpackages .addTotal (jarDetails .getNumPackages (), artifact .getScope ());
555
+ totalentries .addTotal (jarData .getNumEntries (), artifact .getScope ());
556
+ totalclasses .addTotal (jarData .getNumClasses (), artifact .getScope ());
557
+ totalpackages .addTotal (jarData .getNumPackages (), artifact .getScope ());
558
558
559
- String jdkRevisionCellValue = jarDetails .getJdkRevision ();
559
+ String jdkRevisionCellValue = jarData .getJdkRevision ();
560
560
String debugInformationCellValue = null ;
561
561
String sealedCellValue = null ;
562
562
@@ -574,13 +574,13 @@ private void renderSectionDependencyFileDetails() {
574
574
}
575
575
576
576
debugInformationCellValue = debugInformationCellNo ;
577
- if (jarDetails .isDebugPresent ()) {
577
+ if (jarData .isDebugPresent ()) {
578
578
debugInformationCellValue = debugInformationCellYes ;
579
579
totalDebugInformation .incrementTotal (artifact .getScope ());
580
580
}
581
581
582
582
sealedCellValue = sealedCellNo ;
583
- if (jarDetails .isSealed ()) {
583
+ if (jarData .isSealed ()) {
584
584
sealedCellValue = sealedCellYes ;
585
585
totalsealed .incrementTotal (artifact .getScope ());
586
586
}
@@ -595,24 +595,17 @@ private void renderSectionDependencyFileDetails() {
595
595
fileLength = "-" ;
596
596
}
597
597
598
- if (jarDetails .isMultiRelease ()) {
598
+ if (jarData .isMultiRelease ()) {
599
599
String htmlBullet = "   • " ;
600
600
String rootTag = htmlBullet + getI18nString ("file.details.multirelease.root" );
601
601
String versionedTag = htmlBullet + getI18nString ("file.details.multirelease.versioned" );
602
602
603
603
// general jar information row
604
604
tableRow (hasSealed , new String [] {
605
- name ,
606
- fileLength ,
607
- String .valueOf (jarDetails .getNumEntries ()),
608
- "" ,
609
- "" ,
610
- "" ,
611
- "" ,
612
- sealedCellValue
605
+ name , fileLength , String .valueOf (jarData .getNumEntries ()), "" , "" , "" , "" , sealedCellValue
613
606
});
614
607
615
- JarVersionedRuntimes versionedRuntimes = jarDetails .getVersionedRuntimes ();
608
+ JarVersionedRuntimes versionedRuntimes = jarData .getVersionedRuntimes ();
616
609
Collection <JarVersionedRuntime > versionedRuntimeList =
617
610
versionedRuntimes .getVersionedRuntimeMap ().values ();
618
611
@@ -622,15 +615,15 @@ private void renderSectionDependencyFileDetails() {
622
615
.map (versionedRuntime ->
623
616
versionedRuntime .getEntries ().size ())
624
617
.reduce (0 , Integer ::sum );
625
- Integer rootContentNumEntries = jarDetails .getNumEntries () - versionedNumEntries ;
618
+ Integer rootContentNumEntries = jarData .getNumEntries () - versionedNumEntries ;
626
619
627
620
// root content information row
628
621
tableRow (hasSealed , new String [] {
629
622
rootTag ,
630
623
"" ,
631
624
String .valueOf (rootContentNumEntries ),
632
- String .valueOf (jarDetails .getNumClasses ()),
633
- String .valueOf (jarDetails .getNumPackages ()),
625
+ String .valueOf (jarData .getNumClasses ()),
626
+ String .valueOf (jarData .getNumPackages ()),
634
627
jdkRevisionCellValue ,
635
628
debugInformationCellValue ,
636
629
""
@@ -657,9 +650,9 @@ private void renderSectionDependencyFileDetails() {
657
650
tableRow (hasSealed , new String [] {
658
651
name ,
659
652
fileLength ,
660
- String .valueOf (jarDetails .getNumEntries ()),
661
- String .valueOf (jarDetails .getNumClasses ()),
662
- String .valueOf (jarDetails .getNumPackages ()),
653
+ String .valueOf (jarData .getNumEntries ()),
654
+ String .valueOf (jarData .getNumClasses ()),
655
+ String .valueOf (jarData .getNumPackages ()),
663
656
jdkRevisionCellValue ,
664
657
debugInformationCellValue ,
665
658
sealedCellValue
0 commit comments