Skip to content

Commit

Permalink
Organized Imports in RestUtil.java
Browse files Browse the repository at this point in the history
  • Loading branch information
orange451 committed Jun 16, 2021
1 parent 5018e21 commit eff7eea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/io/jrest/RestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.net.HttpCookie;
Expand Down Expand Up @@ -58,9 +57,7 @@ public class RestUtil {

canUseGson = true;
} catch (Exception e) {
System.err.println("Could not locate Gson dependency, will not serialize Java classes. Using Nashorn engine as fallback Map/List serializer.");

e.printStackTrace();
System.err.println("Could not locate Gson dependency, will not serialize Java classes to DTO/POJO. Using Nashorn engine as fallback Map/List serializer.");
ScriptEngineManager sem = new ScriptEngineManager();
engine = sem.getEngineByName("javascript");
}
Expand Down

0 comments on commit eff7eea

Please sign in to comment.