You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To me, the name of the class sounds as if it would implement a choice mechanism that for example says "whenever you encounter the SPDX license expression MIT OR BSD, choose MIT". But actually, no "choice" seems to be involved here at all, and the class simply holds a list of license objects and / or its belonging SPDX license expression string.
So, where does "Choice" in the class name come from? Does it make sense to clarify this in the class docs?
The text was updated successfully, but these errors were encountered:
I'm continuous stumbling over
cyclonedx-core-java/src/main/java/org/cyclonedx/model/LicenseChoice.java
Line 31 in 79b808f
To me, the name of the class sounds as if it would implement a choice mechanism that for example says "whenever you encounter the SPDX license expression
MIT OR BSD
, chooseMIT
". But actually, no "choice" seems to be involved here at all, and the class simply holds a list of license objects and / or its belonging SPDX license expression string.So, where does "Choice" in the class name come from? Does it make sense to clarify this in the class docs?
The text was updated successfully, but these errors were encountered: