A lib directory to the project with gson library.
[Persons_Comparator.git] / src / Eye.java
index a165830f8a1f3cb67354d4c3a97fe48951798c90..ed2231b7aaa81da839726fea50b760f917f178f3 100644 (file)
@@ -62,7 +62,7 @@ public class Eye implements Comparable<Eye> {
         double r_diff = this.getColor().getRed() - eye.getColor().getRed();
         double g_diff = this.getColor().getGreen() - eye.getColor().getGreen();
         double b_diff = this.getColor().getBlue() - eye.getColor().getBlue();
-        // See https://en.wikipedia.org/wiki/Color_difference
+        //See https://en.wikipedia.org/wiki/Color_difference
         Double distance = Math.sqrt(2 * Math.pow(r_diff, 2) + 4 * Math.pow(g_diff, 2) + 3 * Math.pow(b_diff, 2));
         return distance.intValue();
     }