Removed redundant escape sequence

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1173232 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maurizio Cucchiara
2011-09-20 16:34:47 +00:00
parent 07031875ea
commit 9085922cb7
2 changed files with 2 additions and 2 deletions
@@ -57,7 +57,7 @@ public abstract class SiteGraphNode implements Render, Comparable {
}
private String cleanName() {
return name.replaceAll("[\\.\\/\\-\\$\\{\\}]", "_");
return name.replaceAll("[\\./\\-\\$\\{\\}]", "_");
}
public abstract String getColor();
@@ -97,7 +97,7 @@ public class SubGraph implements Render {
return this;
}
String[] parts = namespace.split("\\/");
String[] parts = namespace.split("/");
SubGraph last = this;
for (String part : parts) {
if (part.equals("")) {