Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fromAcceptedChangesMap (0.09 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy

        Map<String, String> toAcceptedChangesMap() {
            acceptedChanges.collectEntries { change ->
                [(new Gson().toJson(change.key)): change.value]
            }
        }
    
        static Map<ApiChange, String> fromAcceptedChangesMap(Map<String, String> acceptedChanges) {
            acceptedChanges.collectEntries { key, value ->
                [(new Gson().fromJson(key, ApiChange)): value]
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

            AcceptedViolationsProvider acceptedApiChanges = (AcceptedViolationsProvider) params.get("acceptedApiChanges");
            if (acceptedApiChanges != null) {
                this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()).keySet();
            } else {
                this.acceptedApiChanges = Collections.emptySet();
            }
        }
    
        @Override
        @SuppressWarnings("unchecked")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top