package fr.neamar.kiss.pojo;

import java.util.Comparator;

public class PojoComparator implements Comparator<Pojo> {
    @Override
    public int compare(Pojo lhs, Pojo rhs) {
        return (lhs.relevance < rhs.relevance ? 1 : (lhs.relevance == rhs.relevance ? 0 : -1));
    }
}
@@ -188,25 +188,8 @@
 turn
- (lhs.relevance %3C
  rhs
@@ -203,15 +203,10 @@
 nce 
-? 1 : (
+- 
 lhs.
@@ -218,36 +218,8 @@
 ance
- == rhs.relevance ? 0 : -1))
 ;%0A  

Improve comparison between two pojos