Skip to content

Commit fe54c51

Browse files
SP-23182 - remove example license
1 parent 08a7af4 commit fe54c51

File tree

1 file changed

+0
-8
lines changed
  • example/src/main/java/com/regula/documentreader/webclient/example

1 file changed

+0
-8
lines changed

example/src/main/java/com/regula/documentreader/webclient/example/Main.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,13 @@
2929

3030
public class Main {
3131
public static final String API_BASE_PATH = "API_BASE_PATH";
32-
public static final String TEST_LICENSE = "TEST_LICENSE";
3332

3433
public static void main(String[] args) throws IOException, ApiException {
3534

3635
var apiBaseUrl = System.getenv(API_BASE_PATH);
3736
if (apiBaseUrl == null) {
3837
apiBaseUrl = "https://api.regulaforensics.com";
3938
}
40-
var licenseFromEnv = System.getenv(TEST_LICENSE); // optional, used here only for smoke test purposes
41-
var licenseFromFile = readFile("regula.license");
42-
4339

4440
byte[] whitePage0 = readFile("WHITE.jpg");
4541

@@ -72,10 +68,6 @@ public static void main(String[] args) throws IOException, ApiException {
7268

7369
var api = new DocumentReaderApi(apiClient);
7470

75-
// Uncomment one of the lines below if you want to transfer the license with each request
76-
// if (licenseFromEnv != null) api.setLicense(licenseFromEnv);
77-
// if (licenseFromFile != null) api.setLicense(licenseFromFile);
78-
7971
var info = api.health();
8072
System.out.println();
8173
System.out.format(

0 commit comments

Comments
 (0)