String id = "" + translation.getId();
String id = "" + (translation.getId() - 1);
	public void processClass(StringList lines, String className) {		while (lines.next()) {			String line = lines.getCurrent();			int startIndex = line.indexOf("Locale.get");			if (startIndex != -1) {				Matcher matcher = LOCALE_GET_PATTERN.matcher( line );				boolean matchFound = false;				while (matcher.find()) {					matchFound = true;					String call = matcher.group();					int keyStart = call.indexOf('"');					int keyEnd = call.indexOf('"', keyStart + 1);					String key = call.substring( keyStart + 1, keyEnd );					Translation translation = this.translationManager.getTranslation(key);					if (translation == null) {						throw new BuildException( getErrorStart(className, lines) + "Found no translation for key [" + key + "].");					}					if (translation.isPlain()) {						line = TextUtil.replace( line, call, translation.getQuotedValue() );					} else {						// there is at least one parameter:						int parameterStart = call.indexOf(',');						if (parameterStart == -1) {							throw new BuildException( getErrorStart(className, lines) + "The translation for key [" + key + "] expects at least one parameter, but none is given. The tranlation is: [" + translation.getValue() + "].");						}						if (translation.hasOneParameter()) {							String parameter = call.substring( parameterStart + 1, call.length() - 1).trim();							line = TextUtil.replace( line, call, translation.getQuotedValue( parameter ) );						} else {							// replace String-key with integer-ID to save valueable size:							String id = "" + translation.getId();							String quotedKey = '"' + key + '"';							String callReplacement = TextUtil.replace( call, quotedKey, id );							line = TextUtil.replace( line, call, callReplacement );						}					}				} // while matcher.find()				if (matchFound) {					lines.setCurrent( line );				}			}		}	}