Bug 188197 compile error occurs in org.eclipse.birt.report.viewer in daily build 20070522
compile error occurs in org.eclipse.birt.report.viewer in daily build 20070522. The error msg is below: [echo] loading /home/adb/releng/BIRTBuilder/eclipse/buildConfigs/../../build.properties ... [javac] /home/adb/releng/src/plugins/org.eclipse.birt.report.viewer/birt_web/WEB-INF/classes/org /eclipse/birt/report/servlet/BirtSoapMessageDispatcherServlet.java:155: cannot resolve symbol [javac] symbol : class StringBuilder [javac] location: class org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet [javac] StringBuilder builder = new StringBuilder( ); [javac] ^ [javac] /home/adb/releng/src/plugins/org.eclipse.birt.report.viewer/birt_web/WEB-INF/classes/org /eclipse/birt/report/servlet/BirtSoapMessageDispatcherServlet.java:155: cannot resolve symbol [javac] symbol : class StringBuilder [javac] location: class org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet [javac] StringBuilder builder = new StringBuilder( ); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 2 errors The JDK used in our daily nbuild is JDK1.4
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/servlet/BirtSoapMessageDispatcherServlet.java
StringBuilder builder = new StringBuilder( );
		Iterator it = request.getParameterMap( ).keySet( ).iterator( );
		while ( it.hasNext( ) )
		{
			String paramName = (String) it.next( );
			if ( paramName != null && paramName.startsWith( "__" ) ) 
			{
				String paramValue = ParameterAccessor.urlEncode(
						ParameterAccessor.getParameter( request, paramName ),
						ParameterAccessor.UTF_8_ENCODE );
				builder.append( "&" + paramName + "=" + paramValue ); 
			}
		}
		String soapURL = request.getRequestURL( ).toString( );
		if ( request.getQueryString( ) != null )
		{
			soapURL += "?" 
					+ request.getQueryString( ) + builder.toString( );
		}
		else
		{
			builder.deleteCharAt( 0 );
			soapURL += "?" + builder.toString( ); 
		}
		request.setAttribute( "SoapURL", soapURL ); 
		
		IContext context = null;
		try
		{