geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/service AbstractContainer.java
Date Tue, 16 Sep 2003 16:42:26 GMT
dain        2003/09/16 09:42:26

  Modified:    modules/core/src/java/org/apache/geronimo/core/service
                        AbstractContainer.java
  Log:
  Fixed argument order when declaring dependencies.
  
  Revision  Changes    Path
  1.2       +2 -2      incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/service/AbstractContainer.java
  
  Index: AbstractContainer.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/service/AbstractContainer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractContainer.java	8 Sep 2003 04:25:19 -0000	1.1
  +++ AbstractContainer.java	16 Sep 2003 16:42:26 -0000	1.2
  @@ -103,7 +103,7 @@
               throw new NullArgumentException("component");
           }
           try {
  -            dependency.addStartDependency(objectName, new ObjectName(component.getObjectName()));
  +            dependency.addStartDependency(new ObjectName(component.getObjectName()), objectName);
           } catch (MalformedObjectNameException e) {
               throw new IllegalArgumentException("Component does not have a valid object
name: objectName=" + component.getObjectName());
           }
  
  
  

Mime
View raw message