Changeset 14 for profile/src
- Timestamp:
- 04/28/20 12:56:46 (5 years ago)
- Location:
- profile/src/main/java/geniusweb/profile/utilityspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
profile/src/main/java/geniusweb/profile/utilityspace/LinearAdditiveUtilitySpace.java
r10 r14 84 84 if (utils.values().contains(null)) { 85 85 throw new NullPointerException( 86 "One of the ValueSetUtilities is null"); 86 "One of the ValueSetUtilities in issueUtilitiesis null:" 87 + utils); 87 88 } 88 89 if (weights.values().contains(null)) { -
profile/src/main/java/geniusweb/profile/utilityspace/NumberValueSetUtilities.java
r9 r14 51 51 if (lowValue == null || highValue == null || lowUtility == null 52 52 || highUtility == null) { 53 throw new NullPointerException("arguments must be non-null"); 53 throw new NullPointerException( 54 "arguments lowValue, lowUtility, highValue and highUtility must be non-null"); 54 55 } 55 56 if (!isInZeroOne(lowUtility)) {
Note:
See TracChangeset
for help on using the changeset viewer.