Skip to content

Commit

Permalink
fix a bug:incorrect use of cache in FuncNode
Browse files Browse the repository at this point in the history
  • Loading branch information
trytocatch committed Oct 21, 2018
1 parent aba2680 commit 59a2337
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file modified executable jar/RegexReplacer.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion resource/UIStrings.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RegexReplacer.title=Regex Replacer V1.0.3 -- by [email protected]
RegexReplacer.title=Regex Replacer V1.0.4 -- by [email protected]
RegexReplacer.help=help

HelpFrame.regexHelp=regex api
Expand Down
2 changes: 1 addition & 1 deletion resource/UIStrings_zh_CN.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RegexReplacer.title=\u6b63\u5219\u6587\u672c\u66ff\u6362\u5668 V1.0.3 -- by [email protected]
RegexReplacer.title=\u6b63\u5219\u6587\u672c\u66ff\u6362\u5668 V1.0.4 -- by [email protected]
RegexReplacer.help=\u5e2e\u52a9

HelpFrame.regexHelp=\u6b63\u5219\u8868\u8fbe\u5f0fapi
Expand Down
5 changes: 3 additions & 2 deletions src/trytocatch/regexreplacer/model/expression/FuncNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ public FuncNode(Object[] args, boolean cacheSupported) {
hasDynamicNode = false;
for (Object o : this.args) {
if (o instanceof ExpressionNode) {
if (((ExpressionNode) o).isCacheAvailable() == false)
if (((ExpressionNode) o).isCacheAvailable() == false){
hasDynamicNode = true;
break;
break;
}
}
}
}
Expand Down

0 comments on commit 59a2337

Please sign in to comment.