commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/jelly PostTag.java
Date Sun, 14 Jul 2002 16:41:38 GMT
dion        2002/07/14 09:41:38

  Modified:    latka/src/java/org/apache/commons/latka LatkaProperties.java
               latka/src/java/org/apache/commons/latka/jelly PostTag.java
  Log:
  Style violations
  
  Revision  Changes    Path
  1.13      +2 -2      jakarta-commons/latka/src/java/org/apache/commons/latka/LatkaProperties.java
  
  Index: LatkaProperties.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/LatkaProperties.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- LatkaProperties.java	11 Apr 2002 13:54:02 -0000	1.12
  +++ LatkaProperties.java	14 Jul 2002 16:41:38 -0000	1.13
  @@ -185,8 +185,8 @@
           InputStream stream = loader.getResourceAsStream(classpathLocation);
   
           if (stream == null) {
  -            throw new IOException("Could not find this file in classpath: " +
  -                                  classpathLocation);
  +            throw new IOException("Could not find this file in classpath: "
  +                + classpathLocation);
           }
   
           properties.load(stream);
  
  
  
  1.4       +4 -4      jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/PostTag.java
  
  Index: PostTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/PostTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PostTag.java	14 Jul 2002 12:38:22 -0000	1.3
  +++ PostTag.java	14 Jul 2002 16:41:38 -0000	1.4
  @@ -106,7 +106,7 @@
           for (int index = 0; index < getParameters().size(); index++) {
               NameValuePair parameter = (NameValuePair) getParameters().
                   get(index);
  -            _postMethod.setParameter(parameter.getName(), parameter.getValue());
  +            _postMethod.addParameter(parameter);
           }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message