< prev index next >

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

Print this page

        

*** 37,50 **** public ThresholdComparator(double min, double max) { this.min = min; this.max = max; } ! /** ! * ! * @param threshold ! */ public final void setThreshold(double threshold) { if (threshold < min || threshold > max) { throw new IllegalArgumentException("Treshold expected to be withing (" + min + ", " + max + "1). Got: " + threshold); } --- 37,47 ---- public ThresholdComparator(double min, double max) { this.min = min; this.max = max; } ! public final void setThreshold(double threshold) { if (threshold < min || threshold > max) { throw new IllegalArgumentException("Treshold expected to be withing (" + min + ", " + max + "1). Got: " + threshold); }
< prev index next >