[JIRA] (JSSH-30) Consider removing the LazyMap/Set/List

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Mon May 1 13:16:53 UTC 2023


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *created* an issue

Shibboleth Shared - Java ( https://shibboleth.atlassian.net/browse/JSSH?atlOrigin=eyJpIjoiYzJlMzg1MWQ3ODIzNDdiMzg4MzVkYzBiZGY2MjVjMjkiLCJwIjoiaiJ9 ) / Task ( https://shibboleth.atlassian.net/browse/JSSH-30?atlOrigin=eyJpIjoiYzJlMzg1MWQ3ODIzNDdiMzg4MzVkYzBiZGY2MjVjMjkiLCJwIjoiaiJ9 ) JSSH-30 ( https://shibboleth.atlassian.net/browse/JSSH-30?atlOrigin=eyJpIjoiYzJlMzg1MWQ3ODIzNDdiMzg4MzVkYzBiZGY2MjVjMjkiLCJwIjoiaiJ9 ) Consider removing the LazyMap/Set/List ( https://shibboleth.atlassian.net/browse/JSSH-30?atlOrigin=eyJpIjoiYzJlMzg1MWQ3ODIzNDdiMzg4MzVkYzBiZGY2MjVjMjkiLCJwIjoiaiJ9 )

Issue Type: Task Affects Versions: 9.0.0 Assignee: Unassigned Components: General Created: 01/May/23 9:16 AM Fix Versions: 9.0.0 Priority: Trivial Reporter: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 )

It seems unlikely that the benefits these classes have outweigh the cost of having all that extra code.

It is worth noting that the Collections class helper functions special case zero, one and two element cases these days.

( https://shibboleth.atlassian.net/browse/JSSH-30#add-comment?atlOrigin=eyJpIjoiYzJlMzg1MWQ3ODIzNDdiMzg4MzVkYzBiZGY2MjVjMjkiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JSSH-30#add-comment?atlOrigin=eyJpIjoiYzJlMzg1MWQ3ODIzNDdiMzg4MzVkYzBiZGY2MjVjMjkiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100224- sha1:07bd2b7 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230501/c9b278de/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-5e7e7394-e9dd-4e6f-9b27-d7a90fc0cc26
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230501/c9b278de/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-c074e864-75fa-4190-ac15-3b6ed98eb74e
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230501/c9b278de/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-1868996a-aa19-4731-9de5-52eadd84321e
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230501/c9b278de/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-adcc5a5f-1eb2-49e6-977e-2be62c6fd2d4
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230501/c9b278de/attachment-0007.png>


More information about the commits mailing list