Skip to content

Commit

Permalink
Merge pull request #218 from telefonicaid/task/add_java_imports
Browse files Browse the repository at this point in the history
Update Utils.java: add java.lang.* and java.util.* imports
  • Loading branch information
fgalan authored Jun 17, 2022
2 parents 3eaaf9b + 7743b7b commit bd8619b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Add java.lang.* and java.util.* packages (all functions) into Esper (#217)
- Switch log level to PERSEO_LOG_LEVEL env var if was provided to docker (#178)
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ public static synchronized EPRuntime initEPService(ServletContext sc) {

// Add perseo-utils library
configuration.getCommon().addImport("com.telefonica.iot.perseo.utils.*");
// Add Java lang and utils packages
configuration.getCommon().addImport("java.lang.*");
configuration.getCommon().addImport("java.util.*");

ConfigurationCompiler cfgCpl = configuration.getCompiler();

Expand Down

0 comments on commit bd8619b

Please sign in to comment.