code: @Deprecated
  	public static String getContextPath(final WebApplication application)
  	{
  		final String contextPath = application.getServletContext().getContextPath();
  		if ((null != contextPath) && !contextPath.isEmpty())
  		{
  			return contextPath;
  		}
  		return "";
  	}
docs: Gets the context path from the given WebApplication.
  
  @param application
  the WebApplication
  @return the context path
  @deprecated use instead {@link ApplicationExtensions#getContextPath(WebApplication)}