removed conflict data from blocks as it is not needed and not yet implemented
This commit is contained in:
parent
2249eb539a
commit
a1c5d9ee88
@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "net.sergeych"
|
||||
version = "0.0.3-SNAPSHOT"
|
||||
version = "0.0.4-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -60,14 +60,14 @@ sealed class MergedBlock<T> {
|
||||
*/
|
||||
data class Resolved<T>(override val data: List<T>) : MergedBlock<T>()
|
||||
|
||||
/**
|
||||
* The portion of data that can't be merged due to the conflicting changes.
|
||||
* __Note it is not yet used.__
|
||||
*/
|
||||
@Suppress("unused")
|
||||
data class Conflict<T>(val variantA: List<T>, val variantB: List<T>) : MergedBlock<T>() {
|
||||
override val data = variantA + variantB
|
||||
}
|
||||
// /**
|
||||
// * The portion of data that can't be merged due to the conflicting changes.
|
||||
// * __Note it is not yet used.__
|
||||
// */
|
||||
// @Suppress("unused")
|
||||
// data class Conflict<T>(val variantA: List<T>, val variantB: List<T>) : MergedBlock<T>() {
|
||||
// override val data = variantA + variantB
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user