Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/cond
In directory sc8-pr-cvs1:/tmp/cvs-serv11433/com/sun/xacml/cond
Modified Files:
FunctionFactory.java
Log Message:
updated add* interfaces to remove id parameter
Index: FunctionFactory.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/cond/FunctionFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FunctionFactory.java 29 Aug 2003 18:58:33 -0000 1.2
--- FunctionFactory.java 27 Oct 2003 04:55:07 -0000 1.3
***************
*** 1,5 ****
/*
! * @(#)FunctionFactory.java 1.27 01/31/03
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
--- 1,5 ----
/*
! * @(#)FunctionFactory.java
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
***************
*** 224,235 ****
*
* @param function the function to add
- * @param identity the name of the function
*
* @throws IllegalArgumentException if the name is already in use
*/
! public static void addTargetFunction(Function function, URI identity)
throws IllegalArgumentException
{
! addTargetFunctionHelper(function, identity);
}
--- 224,234 ----
*
* @param function the function to add
*
* @throws IllegalArgumentException if the name is already in use
*/
! public static void addTargetFunction(Function function)
throws IllegalArgumentException
{
! addTargetFunctionHelper(function, function.getIdentifier());
}
***************
*** 276,287 ****
*
* @param function the function to add
- * @param identity the name of the function
*
* @throws IllegalArgumentException if the name is already in use
*/
! public static void addConditionFunction(Function function, URI identity)
throws IllegalArgumentException
{
! addConditionFunctionHelper(function, identity);
}
--- 275,285 ----
*
* @param function the function to add
*
* @throws IllegalArgumentException if the name is already in use
*/
! public static void addConditionFunction(Function function)
throws IllegalArgumentException
{
! addConditionFunctionHelper(function, function.getIdentifier());
}
***************
*** 328,339 ****
*
* @param function the function to add
- * @param identity the name of the function
*
* @throws IllegalArgumentException if the name is already in use
*/
! public static void addGeneralFunction(Function function, URI identity)
throws IllegalArgumentException
{
! addGeneralFunctionHelper(function, identity);
}
--- 326,336 ----
*
* @param function the function to add
*
* @throws IllegalArgumentException if the name is already in use
*/
! public static void addGeneralFunction(Function function)
throws IllegalArgumentException
{
! addGeneralFunctionHelper(function, function.getIdentifier());
}
|