ResAttrFactory.factory(): returning ResAttr instead of ResValue.

This commit is contained in:
Ryszard Wiśniewski 2010-03-25 10:06:18 +01:00
parent 7a5223cda1
commit 532bdaf74f

View File

@ -23,7 +23,7 @@ import java.util.Map;
* @author Ryszard Wiśniewski <brut.alll@gmail.com> * @author Ryszard Wiśniewski <brut.alll@gmail.com>
*/ */
public class ResAttrFactory { public class ResAttrFactory {
static ResValue factory(ResReferenceValue parent, static ResAttr factory(ResReferenceValue parent,
Map<ResReferenceValue, ResScalarValue> items) { Map<ResReferenceValue, ResScalarValue> items) {
int type = ((ResIntValue) items.values().iterator().next()).getValue(); int type = ((ResIntValue) items.values().iterator().next()).getValue();