cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/modules/input HeaderAttributeModule.java RawRequestParameterModule.java RequestAttributeModule.java RequestParameterModule.java SessionAttributeModule.java
Date Fri, 07 Mar 2003 12:02:45 GMT
haul        2003/03/07 04:02:44

  Modified:    src/java/org/apache/cocoon/components/modules/input
                        HeaderAttributeModule.java
                        RawRequestParameterModule.java
                        RequestAttributeModule.java
                        RequestParameterModule.java
                        SessionAttributeModule.java
  Log:
  forgot a cast (cheers Marcus!)
  
  Revision  Changes    Path
  1.8       +3 -3      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/HeaderAttributeModule.java
  
  Index: HeaderAttributeModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/HeaderAttributeModule.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- HeaderAttributeModule.java	7 Mar 2003 10:49:18 -0000	1.7
  +++ HeaderAttributeModule.java	7 Mar 2003 12:02:44 -0000	1.8
  @@ -77,7 +77,7 @@
       public Object getAttribute( String name, Configuration modeConf, Map objectModel )
           throws ConfigurationException {
   
  -        String pname = this.setting.get("parameter",name);
  +        String pname = (String) this.settings.get("parameter",name);
           if ( modeConf != null ) {
               pname = modeConf.getAttribute( "parameter", pname );
               // preferred
  @@ -98,7 +98,7 @@
           throws ConfigurationException {
   
           Request request = ObjectModelHelper.getRequest(objectModel);
  -        String wildcard = this.settings.get("parameter", name);
  +        String wildcard = (String) this.settings.get("parameter", name);
           if ( modeConf != null ) {
               wildcard = modeConf.getAttribute( "parameter", wildcard );
               // preferred
  
  
  
  1.4       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/RawRequestParameterModule.java
  
  Index: RawRequestParameterModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/RawRequestParameterModule.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RawRequestParameterModule.java	7 Mar 2003 10:49:18 -0000	1.3
  +++ RawRequestParameterModule.java	7 Mar 2003 12:02:44 -0000	1.4
  @@ -76,7 +76,7 @@
   
       public Object getAttribute( String name, Configuration modeConf, Map objectModel )
throws ConfigurationException {
   
  -        String pname = this.settings.get("parameter",name);
  +        String pname = (String) this.settings.get("parameter",name);
           if ( modeConf != null ) {
               pname = modeConf.getAttribute( "parameter", pname );
               // preferred
  
  
  
  1.8       +3 -3      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/RequestAttributeModule.java
  
  Index: RequestAttributeModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/RequestAttributeModule.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RequestAttributeModule.java	7 Mar 2003 10:49:18 -0000	1.7
  +++ RequestAttributeModule.java	7 Mar 2003 12:02:44 -0000	1.8
  @@ -78,7 +78,7 @@
       public Object getAttribute( String name, Configuration modeConf, Map objectModel )
           throws ConfigurationException {
   
  -        String pname = this.settings.get("parameter", name);
  +        String pname = (String) this.settings.get("parameter", name);
           if ( modeConf != null ) {
               pname = modeConf.getAttribute( "parameter", pname );
               // preferred
  @@ -99,7 +99,7 @@
           throws ConfigurationException {
   
           Request request = ObjectModelHelper.getRequest(objectModel);
  -        String wildcard = this.settings.get("parameter",name);
  +        String wildcard = (String) this.settings.get("parameter",name);
           if ( modeConf != null ) {
               wildcard = modeConf.getAttribute( "parameter", wildcard );
               // preferred
  
  
  
  1.8       +3 -3      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/RequestParameterModule.java
  
  Index: RequestParameterModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/RequestParameterModule.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RequestParameterModule.java	7 Mar 2003 10:49:18 -0000	1.7
  +++ RequestParameterModule.java	7 Mar 2003 12:02:44 -0000	1.8
  @@ -79,7 +79,7 @@
   
       public Object getAttribute( String name, Configuration modeConf, Map objectModel )
throws ConfigurationException {
   
  -        String pname = this.settings.get("parameter", name);
  +        String pname = (String) this.settings.get("parameter", name);
           if ( modeConf != null ) {
               pname = modeConf.getAttribute( "parameter", pname );
               // preferred
  @@ -99,7 +99,7 @@
           throws ConfigurationException {
   
           Request request = ObjectModelHelper.getRequest(objectModel);
  -        String wildcard = this.settings.get("parameter", name);
  +        String wildcard = (String) this.settings.get("parameter", name);
           if ( modeConf != null ) {
               wildcard = modeConf.getAttribute( "parameter", wildcard );
               // preferred
  
  
  
  1.8       +3 -3      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/SessionAttributeModule.java
  
  Index: SessionAttributeModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/SessionAttributeModule.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SessionAttributeModule.java	7 Mar 2003 10:49:18 -0000	1.7
  +++ SessionAttributeModule.java	7 Mar 2003 12:02:44 -0000	1.8
  @@ -78,7 +78,7 @@
       public Object getAttribute( String name, Configuration modeConf, Map objectModel )
           throws ConfigurationException {
   
  -        String pname = this.settings.get("parameter", name);
  +        String pname = (String) this.settings.get("parameter", name);
           if ( modeConf != null ) {
               pname = modeConf.getAttribute( "parameter", pname );
               // preferred
  @@ -99,7 +99,7 @@
           throws ConfigurationException {
   
           Request request = ObjectModelHelper.getRequest(objectModel);
  -        String wildcard = this.settings.get("parameter", name);
  +        String wildcard = (String) this.settings.get("parameter", name);
           if ( modeConf != null ) {
               wildcard = modeConf.getAttribute( "parameter", wildcard );
               // preferred
  
  
  

Mime
View raw message