clear 로 변경
This commit is contained in:
+1
-4
@@ -24,10 +24,7 @@ public class SubStringRequestMessage extends PostfixMathCommand {
|
|||||||
int end = toInt(p1);
|
int end = toInt(p1);
|
||||||
|
|
||||||
String resultStr = bizData.substring(start, end);
|
String resultStr = bizData.substring(start, end);
|
||||||
|
inStack.clear();
|
||||||
if(inStack.size() > 0){
|
|
||||||
inStack.pop();
|
|
||||||
}
|
|
||||||
|
|
||||||
inStack.push(resultStr);
|
inStack.push(resultStr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user