Skip to content

Commit bd239ec

Browse files
committed
fix: duplicate variables from code cleanup
1 parent 7d9de79 commit bd239ec

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pdfparser.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export default class PDFParser extends EventEmitter {
3535

3636
#password = "";
3737
#context = null; // service context object, only used in Web Service project; null in command line #pdfFilePath = null;
38-
#pdfFileMTime = null;
3938
#pdfFilePath = null; //current PDF file to load and parse, null means loading/parsing not started #data = null;
4039
#pdfFileMTime = null; // last time the current pdf was modified, used to recognize changes and ignore cache #PDFJS = null;
4140
#data = null; //if file read success, data is PDF content; if failed, data is "err" object #processFieldInfoXML = false;
@@ -52,7 +51,6 @@ export default class PDFParser extends EventEmitter {
5251
constructor(context, needRawText, password) {
5352
super();
5453
this.#context = context;
55-
this.#pdfFilePath = null;
5654
this.#pdfFilePath = null; //current PDF file to load and parse, null means loading/parsing not started this.#pdfFileMTime = null;
5755
this.#pdfFileMTime = null; // last time the current pdf was modified, used to recognize changes and ignore cache this.#data = null;
5856
this.#data = null; //if file read success, data is PDF content; if failed, data is "err" object this.#processFieldInfoXML = false;

0 commit comments

Comments
 (0)