From 32a23166f310a011a427c780aa20aca32317cac2 Mon Sep 17 00:00:00 2001 From: DemchaAV Date: Sun, 5 Jul 2026 11:32:17 +0100 Subject: [PATCH] build: drop the dead zxing:javase dependency and decouple two javadoc refs Only zxing:core types are imported anywhere (the barcode/QR render handlers); there are zero com.google.zxing.client references in src, examples, or benchmarks, so javase was unused weight in every consumer's transitive tree. Also neutralize two javadoc references that cross the future engine/document module boundary: - engine/debug/LayoutSnapshot.java: the {@link ...DocumentSession#layoutSnapshot()} becomes {@code DocumentSession#layoutSnapshot()} so it does not fail to resolve once engine and document are separate modules. - font/FontLibrary.java: reword the getFont(name, PdfFont.class) example to be backend-neutral so the core font javadoc stops naming a PDF type. Production bytecode is byte-for-byte identical to the base branch; only the pom dependency list and javadoc text change. --- pom.xml | 6 ------ .../com/demcha/compose/engine/debug/LayoutSnapshot.java | 2 +- src/main/java/com/demcha/compose/font/FontLibrary.java | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index a0cd685ab..3650e6d60 100644 --- a/pom.xml +++ b/pom.xml @@ -210,12 +210,6 @@ ${zxing.version} - - com.google.zxing - javase - ${zxing.version} - -