Author: amilaj Date: Thu Mar 8 08:30:19 2012 New Revision: 1298295 URL: http://svn.apache.org/viewvc?rev=1298295&view=rev Log: Fixed few typos and removed unnecessary constant
Modified: axis/axis2/java/rampart/trunk/modules/rampart-trust/src/main/java/org/apache/rahas/RahasConstants.java axis/axis2/java/rampart/trunk/modules/rampart-trust/src/test/java/org/apache/rahas/test/util/TestUtil.java Modified: axis/axis2/java/rampart/trunk/modules/rampart-trust/src/main/java/org/apache/rahas/RahasConstants.java URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-trust/src/main/java/org/apache/rahas/RahasConstants.java?rev=1298295&r1=1298294&r2=1298295&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/modules/rampart-trust/src/main/java/org/apache/rahas/RahasConstants.java (original) +++ axis/axis2/java/rampart/trunk/modules/rampart-trust/src/main/java/org/apache/rahas/RahasConstants.java Thu Mar 8 08:30:19 2012 @@ -84,7 +84,6 @@ public class RahasConstants { public static final String KEY_TYPE_SYMM_KEY = "/SymmetricKey"; public static final String KEY_TYPE_PUBLIC_KEY = "/PublicKey"; public static final String KEY_TYPE_BEARER = "/Bearer"; - public static final String KEY_TYPE_HOK = "/Bearer"; //Attr values public static final String BIN_SEC_TYPE_NONCE = "/Nonce"; Modified: axis/axis2/java/rampart/trunk/modules/rampart-trust/src/test/java/org/apache/rahas/test/util/TestUtil.java URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-trust/src/test/java/org/apache/rahas/test/util/TestUtil.java?rev=1298295&r1=1298294&r2=1298295&view=diff ============================================================================== --- axis/axis2/java/rampart/trunk/modules/rampart-trust/src/test/java/org/apache/rahas/test/util/TestUtil.java (original) +++ axis/axis2/java/rampart/trunk/modules/rampart-trust/src/test/java/org/apache/rahas/test/util/TestUtil.java Thu Mar 8 08:30:19 2012 @@ -242,8 +242,8 @@ public class TestUtil { /** * This is directly taken from rampart-core. * TODO we need to move these common code to a new module. Otherwise code will be duplicated. - * We cannot following method from rampart-core as it creates a cyclic dependency. Therefore we have - * to live will following. + * We cannot use following method from rampart-core as it creates a cyclic dependency. Therefore we have + * to live with following. * @param doc The document to convert. * @param useDoom Whether to use doom or not. * @return A SOAPEnvelope. @@ -347,8 +347,8 @@ public class TestUtil { /** * TODO we need to move these common code to a new module. Otherwise code will be duplicated. - * We cannot following method from rampart-core as it creates a cyclic dependency. Therefore we have - * to live will following. + * We cannot use following method from rampart-core as it creates a cyclic dependency. Therefore we have + * to live with following. * Creates a DOM Document using the SOAP Envelope. * @param env An org.apache.axiom.soap.SOAPEnvelope instance * @return Returns the DOM Document of the given SOAP Envelope.