cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/serialization SVGSerializer.java
Date Thu, 09 Oct 2003 15:26:54 GMT
sylvain     2003/10/09 08:26:54

  Modified:    src/blocks/batik/java/org/apache/cocoon/serialization
                        SVGSerializer.java
  Log:
  Fix inconsistency for string parameters
  
  Revision  Changes    Path
  1.9       +2 -2      cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/serialization/SVGSerializer.java
  
  Index: SVGSerializer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/serialization/SVGSerializer.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SVGSerializer.java	13 Aug 2003 08:42:58 -0000	1.8
  +++ SVGSerializer.java	9 Oct 2003 15:26:54 -0000	1.9
  @@ -194,7 +194,7 @@
                       value = new Color(Integer.parseInt(stringValue, 16));
                   } else {
                       // Assume String, and get the value. Allow an empty string.
  -                    value = parameters[i].getValue("");
  +                    value = parameters[i].getAttribute("value", "");
                   }
                   if(getLogger().isDebugEnabled()) {
                       getLogger().debug("Adding hint \"" + name + "\" with value \"" + value.toString()
+ "\"");
  
  
  

Mime
View raw message