- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for sortChanges (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
@TaskAction fun execute() { val gson: Gson = GsonBuilder().setFormattingStyle(FormattingStyle.PRETTY.withIndent(" ")).create() loadChanges().mapValues { gson.toJson(AcceptedApiChanges(sortChanges(it.value))) }.forEach { it.key.bufferedWriter().use { out -> out.write(it.value) out.write("\n") } } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Apr 09 14:09:16 GMT 2025 - 1.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
* <p> * This sort ought to remain consistent with the sort used by the [EnrichedReportRenderer]. */ @Suppress("KDocUnresolvedReference") protected fun sortChanges(originalChanges: List<AcceptedApiChange>) = originalChanges.toMutableList().sortedBy { it.type + '#' + it.member } @VisibleForTesting data class AcceptedApiChange( val type: String?,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 04 14:00:46 GMT 2024 - 2.9K bytes - Click Count (0)