RED-9149 - Remove header detection & bump lombok

This commit is contained in:
Andrei Isvoran 2024-05-20 14:12:06 +02:00
parent e2a5b85c4a
commit 43dec8744a
4 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
plugins {
id("com.knecon.fforesight.java-conventions")
id("io.freefair.lombok") version "8.2.2"
id("io.freefair.lombok") version "8.6"
}
description = "layoutparser-service-internal-api"

View File

@ -1,6 +1,6 @@
plugins {
id("com.knecon.fforesight.java-conventions")
id("io.freefair.lombok") version "8.2.2"
id("io.freefair.lombok") version "8.6"
}
description = "layoutparser-service-processor"

View File

@ -71,8 +71,7 @@ public class DocuMineClassificationService {
== null
|| textBlock.getHighestFontSize()
<= document.getFontSizeCounter()
.getMostPopular()))
|| HeaderFooterDetection.isLikelyHeader(textBlock, document, page)) {
.getMostPopular()))) {
textBlock.setClassification(PageBlockType.HEADER);
} else if (MarkedContentUtils.intersects(textBlock, page.getMarkedContentBboxPerType(), MarkedContentUtils.FOOTER)

View File

@ -6,7 +6,7 @@ plugins {
id("org.springframework.boot") version "3.1.3"
id("io.spring.dependency-management") version "1.1.3"
id("org.sonarqube") version "4.3.0.3225"
id("io.freefair.lombok") version "8.2.2"
id("io.freefair.lombok") version "8.6"
// id("org.graalvm.buildtools.native") version "0.9.23"
}