Bug 176569 123 is treated as Blank Value in Scalar Parameter [0705]
Description: 123 is treated as Blank Value in Scalar Parameter. Build number: 2.2.0.v20070307-1128 Steps to reproduce: 1. New a Parameter. 2. Untick Allow null value checkbox. Expected result: Parameter works correctly. Actual result: Another Parameter dialogue pops up and when you click OK button again, warning message "NewParameter cannot be blank" pops up (see the screenshot). Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
}
		}
	}
	/**
	 * Returns lastModified of report design file. If file doesn't exist, return
	 * -1L;
	 * 
	 * @param request
	 * @return
	 */
	protected long getLastModifiedOfDesign( HttpServletRequest request )
	{
		String designFile = ParameterAccessor.getParameter( request,
				ParameterAccessor.PARAM_REPORT );
		if ( designFile == null )
			return -1L;
		
		File file = new File( this.reportDesignName );
		if ( file != null && file.exists( ) )
		{
			if ( file.isFile( ) )
				return file.lastModified( );
		}
		else
		{
			
			try
			{
				if ( !designFile.startsWith( "/" ) ) 
					designFile = "/" + designFile;