struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/config ActionConfig.java
Date Fri, 04 Jul 2003 21:25:23 GMT
dgraham     2003/07/04 14:25:23

  Modified:    src/share/org/apache/struts/config ActionConfig.java
  Log:
  Removed deprecated methods.
  
  Revision  Changes    Path
  1.12      +6 -24     jakarta-struts/src/share/org/apache/struts/config/ActionConfig.java
  
  Index: ActionConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/config/ActionConfig.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ActionConfig.java	1 May 2003 16:45:33 -0000	1.11
  +++ ActionConfig.java	4 Jul 2003 21:25:23 -0000	1.12
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -59,10 +59,8 @@
    *
    */
   
  -
   package org.apache.struts.config;
   
  -
   import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.HashMap;
  @@ -77,7 +75,6 @@
    * @version $Revision$ $Date$
    * @since Struts 1.1
    */
  -
   public class ActionConfig implements Serializable {
   
   
  @@ -114,14 +111,6 @@
   
       /**
        * The module configuration with which we are associated.
  -     * @deprecated  {@link #getModuleConfig()}
  -     */
  -    public ModuleConfig getApplicationConfig() {
  -        return (getModuleConfig());
  -    }
  -
  -    /**
  -     * The module configuration with which we are associated.
        */
       public ModuleConfig getModuleConfig() {
           return (this.moduleConfig);
  @@ -129,19 +118,12 @@
   
       /**
        * The module configuration with which we are associated.
  -     * @deprecated  {@link #setModuleConfig(ModuleConfig)}
  -     */
  -    public void setApplicationConfig(ModuleConfig moduleConfig) {
  -       setModuleConfig(moduleConfig);
  -    }
  -
  -    /**
  -     * The module configuration with which we are associated.
        */
       public void setModuleConfig(ModuleConfig moduleConfig) {
           if (configured) {
               throw new IllegalStateException("Configuration is frozen");
           }
  +        
           this.moduleConfig = moduleConfig;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message