RED-7075: Styling change

This commit is contained in:
RaphaelArnold 2023-09-01 10:02:14 +02:00
parent bf3015161b
commit 5338f24725

View File

@ -98,6 +98,7 @@ public class ElementFeatures {
return Math.abs(a - b) < a * RECT_SIZE_SIMILARITY_THRESHOLD_FACTOR;
}
@EqualsAndHashCode(callSuper = true)
@Getter
@SuperBuilder
@ -205,12 +206,6 @@ public class ElementFeatures {
public boolean isSimilarTo(ElementFeatures elementFeatures) {
return super.isSimilarTo(elementFeatures) && //
//this.dataSize == ((Image) elementFeatures).getDataSize() && //
//this.height == ((Image) elementFeatures).getHeight() && //
//this.width == ((Image) elementFeatures).getWidth() && //
//this.renderingIntent == ((Image) elementFeatures).getRenderingIntent() && //
//this.componentNum == ((Image) elementFeatures).getComponentNum() && //
//this.bitsPerComponent == ((Image) elementFeatures).getBitsPerComponent() && //
calculateHammingDistance(((Image) elementFeatures).getHashOfImage()) <= HAMMING_DISTANCE_THRESHOLD;
}