@ Override public T resolve ( List < T > siblings ) throws UnresolvedConflictException { if ( siblings . size ( ) > 1 ) { throw new UnresolvedConflictException ( "Siblings found" , siblings ) ; } else if ( siblings . size ( ) == 1 ) { return siblings . get ( 0 ) ; } else { return null ; } }
Detects conflict but does not resolve it .