gradle draft

This commit is contained in:
Andrei Isvoran 2024-02-06 16:52:12 +02:00
parent c817687127
commit 840156237f
2 changed files with 3 additions and 4 deletions

View File

@ -48,9 +48,9 @@ public class ElementFeatureFactory {
}
private static ElementFeatures.Text buildText(Element element) throws PDFNetException {
private static ElementFeatures.ElementFeaturesText buildText(Element element) throws PDFNetException {
return ElementFeatures.Text.builder()
return ElementFeatures.ElementFeaturesText.builder()
.elementType(element.getType())
.boundingBox(Converter.toRectangle2D(element.getBBox()))
.text(element.getTextString())

View File

@ -103,8 +103,7 @@ public class ElementFeatures {
@Getter
@SuperBuilder
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
@SuppressWarnings("PMD")
public static class Text extends ElementFeatures {
public static class ElementFeaturesText extends ElementFeatures {
String text;
int font;