You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by vd...@apache.org on 2003/11/20 09:38:54 UTC

cvs commit: xml-security/src/org/apache/xml/security/keys/content/keyvalues DSAKeyValue.java

vdkoogh     2003/11/20 00:38:54

  Modified:    src/org/apache/xml/security/keys/content/keyvalues
                        DSAKeyValue.java
  Log:
  Removed unnecessary casts
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.9       +2 -2      xml-security/src/org/apache/xml/security/keys/content/keyvalues/DSAKeyValue.java
  
  Index: DSAKeyValue.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/keys/content/keyvalues/DSAKeyValue.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DSAKeyValue.java	29 Apr 2003 21:36:54 -0000	1.8
  +++ DSAKeyValue.java	20 Nov 2003 08:38:53 -0000	1.9
  @@ -137,7 +137,7 @@
         XMLUtils.addReturnToElement(this._constructionElement);
   
         if (JavaUtils.implementsInterface(
  -              (Object) key, "java.security.interfaces.DSAPublicKey")) {
  +              key, "java.security.interfaces.DSAPublicKey")) {
            this.addBigIntegerElement(((DSAPublicKey) key).getParams().getP(),
                                      Constants._TAG_P);
            this.addBigIntegerElement(((DSAPublicKey) key).getParams().getQ(),