message = originalPath + message.substring( index + ".java".length() );
message = "[javac] " + originalPath + message.substring( index + ".java".length() );
	public void messageLogged(BuildEvent event) {		if (this.isInCompileMode) {			String message = event.getMessage();			int index;			if (message != null && (index = message.indexOf(".java")) != -1) {				int startIndex = message.substring(0, index).lastIndexOf("source");				if (startIndex == -1) {					startIndex = 0;				} else {					startIndex += "source/".length();				}				String classPath = message.substring(startIndex, index + ".java".length() );				String originalPath = (String) this.classPathTranslations.get( classPath );				if (originalPath != null) {					message = originalPath + message.substring( index + ".java".length() );					event.setMessage(message, event.getPriority());					this.isInternalCompilationError = false;				} else {					event.setMessage("Internal J2ME Polish class: " + message, event.getPriority() );					this.isInternalCompilationError = true;				}			}		} else if (this.isInObfuscateMode) {			String message = event.getMessage();			if (message != null) {				if (message.startsWith("Note")						|| message.startsWith("Reading")						|| message.startsWith("Copying")						) 				{					// suppress this event:					return;				}			}		}		this.logger.messageLogged(event);	}