From: Eyal Alalouf Date: Sun, 24 Jul 2005 16:39:28 +0000 (-0000) Subject: Making simple web app work with Grasshopper from svn. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=8cae05c229387e24c2b2dc3e2226872f67ed9fdb;p=mono.git Making simple web app work with Grasshopper from svn. svn path=/trunk/mcs/; revision=47611 --- diff --git a/mcs/class/System.Web/System.Web/ChangeLog b/mcs/class/System.Web/System.Web/ChangeLog index 87a2df9005d..cfffdb16905 100644 --- a/mcs/class/System.Web/System.Web/ChangeLog +++ b/mcs/class/System.Web/System.Web/ChangeLog @@ -1,3 +1,6 @@ +2005-07-24 Eyal Alalouf + * HttpRequest.cs: Removed GhFilePath property from TARGET_J2EE. + 2005-07-19 Eyal Alalouf * CapabilitiesLoader.cs: Indentation fixes in TARGET_J2EE specific code. diff --git a/mcs/class/System.Web/System.Web/HttpRequest.cs b/mcs/class/System.Web/System.Web/HttpRequest.cs index 22425a67006..97293adafa8 100644 --- a/mcs/class/System.Web/System.Web/HttpRequest.cs +++ b/mcs/class/System.Web/System.Web/HttpRequest.cs @@ -103,9 +103,6 @@ namespace System.Web { bool checkedQueryString; #endif -#if TARGET_J2EE - private string _sGhFilePath; -#endif public HttpRequest(string Filename, string Url, string Querystring) { _iContentLength = -1; _iTotalBytes = -1; @@ -584,25 +581,6 @@ namespace System.Web { } } -#if TARGET_J2EE - internal string GhFilePath { - get { - if (null == _sGhFilePath) { - _sGhFilePath = FilePath; - if (_sGhFilePath == null) - return null; - - if (_sGhFilePath.StartsWith(IAppDomainConfig.WAR_ROOT_SYMBOL)) - _sGhFilePath = _sGhFilePath.Substring(IAppDomainConfig.WAR_ROOT_SYMBOL.Length); - if (_sGhFilePath.StartsWith(HttpRuntime.AppDomainAppVirtualPath)) - _sGhFilePath = _sGhFilePath.Substring(HttpRuntime.AppDomainAppVirtualPath.Length); - } - - return _sGhFilePath; - } - } -#endif - HttpFileCollection files; public HttpFileCollection Files { get {