File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
src/edu/rice/cs/drjava/model/repl Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ http://drjava.sf.net/devdocs/
1111
1212-------------------------------------------------------------------------------
1313
14- QuickStart Guilde For Building DrJava
14+ QuickStart Guide For Building DrJava
1515 by Corky Cartwright (cork@rice.edu)
1616
1717The following guide presumes that you already have the following
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ protected void _interpret(String toEval) {
8888 Option <Object > result = _interpreter .interpret (toEval );
8989 if (result .isSome ()) {
9090 String objString = null ;
91- try { objString = TextUtil .toString (Option .unwrap (result )); }
91+ try { objString = TextUtil .toString (result .unwrap ()); }
9292 catch (Throwable t ) { throw new EvaluatorException (t ); }
9393 append (objString + "\n " , InteractionsDocument .OBJECT_RETURN_STYLE );
9494 }
@@ -107,7 +107,7 @@ protected void _interpret(String toEval) {
107107 public String getVariableToString (String var ) {
108108 try {
109109 Option <Object > value = _interpreter .interpret (var );
110- try { return TextUtil .toString (Option .unwrap (value , "" )); }
110+ try { return TextUtil .toString (value .unwrap ("" )); }
111111 catch (Throwable t ) { throw new EvaluatorException (t ); }
112112 }
113113 catch (InterpreterException e ) { return "" ; }
You can’t perform that action at this time.
0 commit comments