Skip to content

Commit

Permalink
ScriptEngine: removed convert() method
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Feb 26, 2020
1 parent c141530 commit 459733e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions groovy/src/main/java/org/jline/script/GroovyEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,4 @@ public String toString(Object obj) {
return Utils.toString(obj);
}

@Override
public Object convert(Object obj) {
return Utils.convert(obj);
}

}
9 changes: 0 additions & 9 deletions reader/src/main/java/org/jline/reader/ScriptEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import java.nio.file.Path;
import java.util.*;

import org.jline.utils.AttributedString;

/**
* Manage scriptEngine variables, statements and script execution.
*
Expand Down Expand Up @@ -89,13 +87,6 @@ default Map<String,Object> find() {
*/
String toString(Object object);

/**
* Converts object by serializing and deserializing it.
* @param object object to convert
* @return converted object
*/
Object convert(Object object);

/**
* Substitute variable reference with its value.
* @param variable
Expand Down

0 comments on commit 459733e

Please sign in to comment.