Commit f0cf660a by WeiCong

提交

parent 0986f44f
...@@ -184,6 +184,7 @@ public class SWFMessage extends AbstractMessageArea { ...@@ -184,6 +184,7 @@ public class SWFMessage extends AbstractMessageArea {
} }
final Pattern CHECKPATH=Pattern.compile("^\\d+(\\.\\d)?$"); final Pattern CHECKPATH=Pattern.compile("^\\d+(\\.\\d)?$");
public String getGeneric(String path){ public String getGeneric(String path){
Assert.state(path != null && path != "" && CHECKPATH.matcher(path).find(),"索引["+path+"]不符合规范"); Assert.state(path != null && path != "" && CHECKPATH.matcher(path).find(),"索引["+path+"]不符合规范");
int index=path.indexOf("."); int index=path.indexOf(".");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment