mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
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:
+1
-1
@@ -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("")) {
|
||||
|
||||
Reference in New Issue
Block a user