[Sunxacml-commit] sunxacml/com/sun/xacml/finder/impl SelectorModule.java,1.3,1.4
Brought to you by:
farrukh_najmi,
sethp
|
From: <se...@us...> - 2004-02-13 18:01:23
|
Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/finder/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31765/com/sun/xacml/finder/impl Modified Files: SelectorModule.java Log Message: updated to use new factory interfaces Index: SelectorModule.java =================================================================== RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/finder/impl/SelectorModule.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SelectorModule.java 29 Aug 2003 18:58:33 -0000 1.3 --- SelectorModule.java 13 Feb 2004 17:55:32 -0000 1.4 *************** *** 1,7 **** /* ! * @(#)SelectorModule.java 1.4 01/31/03 * ! * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without --- 1,7 ---- /* ! * @(#)SelectorModule.java * ! * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without *************** *** 143,146 **** --- 143,147 ---- try { ArrayList list = new ArrayList(); + AttributeFactory attrFactory = AttributeFactory.getInstance(); for (int i = 0; i < matches.getLength(); i++) { *************** *** 161,165 **** } ! list.add(AttributeFactory.createAttribute(type, text)); } --- 162,166 ---- } ! list.add(attrFactory.createValue(type, text)); } |