geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject cvs commit: incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/service GBeanBuilder.java
Date Tue, 24 Feb 2004 18:16:10 GMT
jlaskowski    2004/02/24 10:16:10

  Modified:    modules/deployment/src/java/org/apache/geronimo/deployment/service
                        GBeanBuilder.java
  Log:
  method reuse
  
  Revision  Changes    Path
  1.2       +2 -6      incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/service/GBeanBuilder.java
  
  Index: GBeanBuilder.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/service/GBeanBuilder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GBeanBuilder.java	20 Feb 2004 07:19:13 -0000	1.1
  +++ GBeanBuilder.java	24 Feb 2004 18:16:10 -0000	1.2
  @@ -112,11 +112,7 @@
       }
   
       public void setReference(String name, String pattern) throws DeploymentException {
  -        try {
  -            gbean.setReferencePatterns(name, Collections.singleton(new ObjectName(pattern)));
  -        } catch (MalformedObjectNameException e) {
  -            throw new DeploymentException("Invalid pattern for reference " + name + ":
" + pattern, e);
  -        }
  +        setReference( name, new String[] { pattern } );
       }
   
       public void setReference(String name, String[] patterns) throws DeploymentException
{
  
  
  

Mime
View raw message