< prev index next >

core/JemmyCore/src/org/jemmy/image/pixel/MaxDistanceComparator.java

Print this page

        

@@ -25,30 +25,19 @@
 package org.jemmy.image.pixel;
 
 import org.jemmy.Dimension;
 
 /**
- *
  * @author shura
  */
 public class MaxDistanceComparator extends ThresholdComparator{
 
-    /**
-     *
-     * @param threshold
-     */
     public MaxDistanceComparator(double threshold) {
         super(0, Math.sqrt(3));
         setThreshold(threshold);
     }
 
-    /**
-     *
-     * @param image1
-     * @param image2
-     * @return
-     */
     public boolean compare(Raster image1, Raster image2) {
         Dimension size = PixelImageComparator.computeDiffSize(image1, image2);
         if (size == null) {
             return false;
         }

@@ -63,13 +52,9 @@
             }
         }
         return distance <= getThreshold();
     }
 
-    /**
-     *
-     * @return
-     */
     public String getID() {
         return MaxDistanceComparator.class.getName() + ":" + getThreshold();
     }
 }
< prev index next >