String[] lines = getQueryPresetText(); String result = ""; if( lines!= null && lines.length > 0 ) { for (int i = 0; i < lines.length; i++) { result = result + lines[i] + ( i == lines.length -1? " ":" \n"); } } return result;
return getQueryPresetTextString( );
	private String getQueryText()	{		String queryText = ( (OdaDataSetHandle) getContainer( ).getModel( ) ).getQueryText( );		if ( queryText != null && queryText.trim().length() > 0)			return queryText;				String[] lines = getQueryPresetText();		String result = "";		if( lines!= null && lines.length > 0 )		{			for (int i = 0; i < lines.length; i++)			{				result = result + lines[i] + ( i == lines.length -1? " ":" \n");			}		}		return result;	}