Remove useless use of "file.separator" in getRealPath()
git-svn-id: http://webgoat.googlecode.com/svn/trunk@133 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
2748e80d0d
commit
b7bb9e4d17
@ -288,8 +288,7 @@ public class HammerHead extends HttpServlet
|
||||
Locale.US);
|
||||
httpDateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
|
||||
propertiesPath = getServletContext().getRealPath(
|
||||
"." + System.getProperty("file.separator") + "WEB-INF"
|
||||
+ "/webgoat.properties");
|
||||
"./WEB-INF/webgoat.properties");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user