public void setValue(String value) { _deferredObject = new LiteralDeferredObject(value, getLocation()); }
public void setValue(String value) { _deferredObject = new LiteralDeferredObject(value, getLocation()); }
private Map buildMapFromContributions(List contributions, String mode) { Map result = new HashMap(); Iterator i = contributions.iterator(); while (i.hasNext()) { InfrastructureContribution ic = (InfrastructureContribution) i.next(); if (!ic.matchesMode(mode)) continue; String propertyName = ic.getProperty(); InfrastructureContribution existing = (InfrastructureContribution) result .get(propertyName); if (existing != null) { _errorLog.error(ImplMessages.duplicateInfrastructureContribution(ic, existing .getLocation()), ic.getLocation(), null); continue; } result.put(propertyName, ic); } return result; }
private Map buildMapFromContributions(List contributions, String mode) { Map result = new HashMap(); Iterator i = contributions.iterator(); while (i.hasNext()) { InfrastructureContribution ic = (InfrastructureContribution) i.next(); if (!ic.matchesMode(mode)) continue; String propertyName = ic.getProperty(); InfrastructureContribution existing = (InfrastructureContribution) result .get(propertyName); if (existing != null) { _errorLog.error(ImplMessages.duplicateInfrastructureContribution(ic, existing .getLocation()), ic.getLocation(), null); continue; } result.put(propertyName, ic); } return result; }