Skip to content

Commit d3f3655

Browse files
committed
removed unused esql article code
1 parent 5e803a0 commit d3f3655

File tree

1 file changed

+1
-6
lines changed
  • examples/esql-article/src/main/java/co/elastic/clients/esql/article

1 file changed

+1
-6
lines changed

examples/esql-article/src/main/java/co/elastic/clients/esql/article/EsqlArticle.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,7 @@
5959
public class EsqlArticle {
6060

6161
public static void main(String[] args) throws IOException, SQLException, InterruptedException {
62-
String dir = System.getProperty("user.dir");
63-
Properties prop = new Properties();
64-
Path path = Paths.get(dir, "examples", "esql-article", "src", "main", "resources", "application" +
65-
".conf");
66-
prop.load(new FileInputStream(path.toString()));
67-
62+
6863
String serverUrl = System.getenv("server-url");
6964
String apiKey = System.getenv("api-key");
7065
String booksUrl = "https://raw.githubusercontent" +

0 commit comments

Comments
 (0)