File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec
weasis-launcher/src/main/java/org/weasis/launcher Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -301,12 +301,10 @@ public DicomSpecialElement getFirstSpecialElement() {
301
301
@ Override
302
302
public boolean isSuitableFor3d () {
303
303
int size = size (null );
304
- if (size < 1 ) {
305
- SeriesInstanceList seriesInstanceList =
306
- (SeriesInstanceList ) getTagValue (TagW .WadoInstanceReferenceList );
307
- if (seriesInstanceList != null ) {
308
- size = seriesInstanceList .size ();
309
- }
304
+ SeriesInstanceList seriesInstanceList =
305
+ (SeriesInstanceList ) getTagValue (TagW .WadoInstanceReferenceList );
306
+ if (seriesInstanceList != null ) {
307
+ size = Math .max (size , seriesInstanceList .size ());
310
308
}
311
309
return size >= DefaultView2d .MINIMAL_IMAGES_FOR_3D ;
312
310
}
Original file line number Diff line number Diff line change @@ -35,11 +35,7 @@ public static void main(String[] args) throws Exception {
35
35
public static KeyStore setupDefaultSSLContext () throws Exception {
36
36
// Load platform-specific trust store
37
37
KeyStore platformTrustStore = loadPlatformTrustStore ();
38
-
39
- // Load Java default trust store
40
38
KeyStore javaTrustStore = loadJavaDefaultTrustStore ();
41
-
42
- // Merge trust stores
43
39
KeyStore mergedTrustStore = mergeTrustStores (platformTrustStore , javaTrustStore );
44
40
45
41
// Create and set SSL context
You can’t perform that action at this time.
0 commit comments