Skip to content

Commit 38bbffd

Browse files
authored
Update SpeedFirstSettings.java
1 parent 65ce8ae commit 38bbffd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

samples/Performance/SpeedFirstSettings/src/main/java/SpeedFirstSettings.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,10 @@ private static void outputResults(TextResult[] results, long costTime) {
8383
public static void main(String[] args) {
8484
try {
8585

86-
// 1.Initialize license.
87-
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
88-
// If you want to use an offline license, please contact Dynamsoft Support: https://www.dynamsoft.com/company/contact/
89-
// You can also request a 30-day trial license in the customer portal: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=java
90-
DMDLSConnectionParameters para = BarcodeReader.initDLSConnectionParameters();
91-
para.organizationID = "200001";
92-
93-
BarcodeReader.initLicenseFromDLS(para);
86+
// 1.Initialize license.
87+
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
88+
// You can also request a 30-day trial license in the customer portal: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=java
89+
BarcodeReader.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
9490

9591
// 2.Create an instance of Dynamsoft Barcode Reader.
9692
BarcodeReader dbr = new BarcodeReader();

0 commit comments

Comments
 (0)