ThreeState (@NotNull Change change1, @NotNull Change change2) { Change layer1 = getSvnChangeLayer(change1); Change layer2 = getSvnChangeLayer(change2); if (layer1 != null || layer2 != null) { if (layer1 == null || layer2 == null) return ThreeState.NO; } return ThreeState.UNSURE; }