Skip to content

Commit

Permalink
Use constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenq committed Apr 18, 2015
1 parent 98a3827 commit 382871d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void testFolderExtraction() {
/**
* Gets tesseract instance and sets data path.
*/
Tesseract instance = Tesseract.getInstance();
ITesseract instance = new Tesseract();

if (tessDataFolder != null) {
System.out.println(tessDataFolder.getAbsolutePath());
Expand Down

0 comments on commit 382871d

Please sign in to comment.