Skip to content

Commit

Permalink
Droping a wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
rgudwin committed Apr 24, 2024
1 parent c85e5d0 commit d22fbc2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public RESTMemoryObject(String hostname, int port, boolean pretty, String origin
long diff = currentaccess - lastaccess;
if (diff > refresh) {
String contentType = req.getContentType();
//double evaluation = 0.0d;
if(contentType.equals("application/json")){

InputStream inputStreamObject = req.getBody();
Expand Down Expand Up @@ -123,7 +122,7 @@ public RESTMemoryObject(String hostname, int port, boolean pretty, String origin
}

}
else {//if(!req.getFormQuery("evaluation").isEmpty()){
else {
String I = req.getFormQuery("I");
double evaluation = Double.parseDouble(req.getFormQuery("evaluation"));

Expand Down

0 comments on commit d22fbc2

Please sign in to comment.