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:
rogan.dawes 2007-07-10 11:49:03 +00:00
parent 2748e80d0d
commit b7bb9e4d17

View File

@ -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");
}