Skip to content

Commit a5b8f44

Browse files
committed
Remove unused fields
1 parent 57c6536 commit a5b8f44

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

pdfocr-tesseract4/src/main/java/com/itextpdf/pdfocr/tesseract4/ReflectionUtils.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,42 +22,25 @@ This file is part of the iText (R) project.
2222
*/
2323
package com.itextpdf.pdfocr.tesseract4;
2424

25-
import com.itextpdf.io.util.MessageFormatUtil;
2625
import com.itextpdf.kernel.Version;
27-
import com.itextpdf.kernel.counter.ContextManager;
2826

29-
import java.lang.reflect.AccessibleObject;
3027
import java.lang.reflect.Array;
3128
import java.lang.reflect.Constructor;
3229
import java.lang.reflect.Method;
3330
import java.util.Arrays;
34-
import java.util.Collection;
35-
import java.util.Collections;
36-
import java.util.HashMap;
37-
import java.util.Map;
38-
import org.slf4j.Logger;
39-
import org.slf4j.LoggerFactory;
4031

4132
final class ReflectionUtils {
4233

43-
private static final Logger logger = LoggerFactory.getLogger(ReflectionUtils.class);
44-
45-
private static final String KERNEL_PACKAGE = "com.itextpdf.kernel.";
4634
private static final String LICENSEKEY_PACKAGE = "com.itextpdf.licensekey.";
4735

48-
private static final String CONTEXT_MANAGER = "counter.ContextManager";
4936
private static final String LICENSEKEY = "LicenseKey";
5037
private static final String LICENSEKEY_PRODUCT = "LicenseKeyProduct";
5138
private static final String LICENSEKEY_FEATURE = "LicenseKeyProductFeature";
5239

53-
private static final String REGISTER_GENERIC_CONTEXT = "registerGenericContext";
5440
private static final String SCHEDULED_CHECK = "scheduledCheck";
5541

5642
private static final String NO_PDFOCR_TESSERACT4 = "No license loaded for product pdfOcr-Tesseract4. Please use LicenseKey.loadLicense(...) to load one.";
5743

58-
private static Map<String, Class<?>> cachedClasses = new HashMap<>();
59-
private static Map<MethodSignature, AccessibleObject> cachedMethods = new HashMap<>();
60-
6144
private ReflectionUtils() {
6245
}
6346

0 commit comments

Comments
 (0)