if ( attributeValue.indexOf( exclude ) != -1) { throw new BuildException( "Invalid CSS: the value \"" + this.from + "\" of the attribute \"" + attributeName + "\" conflicts with the value \"" + exclude + "\" - please change your polish.css setting for the value \"" + attributeValue + "\"."  );
int  index = attributeValue.indexOf( exclude ); while ( index != -1 ) {  boolean match = true; if (index != 0) { char c = attributeValue.charAt(index - 1); if (c != ' ' && c != '\t' && c != '|' && c != '&' && c != '!' && c != '^' && c != ';') {  match = false; } } if (index + exclude.length() + 1 < attributeValue.length()) { char c = attributeValue.charAt(index + exclude.length()); if (c != ' ' && c != '\t' && c != '|' && c != '&' && c != '!' && c != '^' && c != ';') {  match = false; } } if (match) { throw new BuildException( "Invalid CSS: the value \"" + this.from + "\" of the attribute \"" + attributeName + "\" conflicts with the value \"" + exclude + "\" - please change your polish.css setting for the value \"" + attributeValue + "\"."  ); } index = attributeValue.indexOf( exclude, index + 1 );
	public void checkCondition( String attributeName, String attributeValue, BooleanEvaluator evaluator ) {		if (this.condition != null) {			if (!evaluator.evaluate(this.condition, "polish.css", 0)) {				throw new BuildException( "Invalid CSS: the value \"" + this.from + "\" of attribute \"" + attributeName + "\" is invalid for the current device, the condition \"" + this.condition + "\" is not met. Use this value in appropriate subfolders like \"resources/midp2/polish.css\"."  );			}		}		if (this.excludes != null) {			for (int i = 0; i < this.excludes.length; i++) {				String exclude = this.excludes[i];				if ( attributeValue.indexOf( exclude ) != -1) {					throw new BuildException( "Invalid CSS: the value \"" + this.from + "\" of the attribute \"" + attributeName + "\" conflicts with the value \"" + exclude + "\" - please change your polish.css setting for the value \"" + attributeValue + "\"."  );									}			}		}	}