commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsi...@apache.org
Subject cvs commit: jakarta-commons/discovery/src/java/org/apache/commons/discovery/base Environment.java
Date Thu, 15 Aug 2002 19:33:12 GMT
rsitze      2002/08/15 12:33:12

  Modified:    discovery/src/java/org/apache/commons/discovery/base
                        Environment.java
  Log:
  Factored portions of caching out to tools package.
  
  Revision  Changes    Path
  1.4       +10 -2     jakarta-commons/discovery/src/java/org/apache/commons/discovery/base/Environment.java
  
  Index: Environment.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/discovery/src/java/org/apache/commons/discovery/base/Environment.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Environment.java	15 Aug 2002 18:22:44 -0000	1.3
  +++ Environment.java	15 Aug 2002 19:33:12 -0000	1.4
  @@ -95,12 +95,20 @@
       
       private boolean searchLibOnly;
       
  +    public Environment() {
  +        this(defaultGroupContext, defaultRootDiscoveryClass, null);
  +    }
  +    
       public Environment(Class rootDiscoveryClass) {
  -        this(defaultGroupContext, rootDiscoveryClass, defaultRootDiscoveryClass);
  +        this(defaultGroupContext, rootDiscoveryClass, null);
  +    }
  +    
  +    public Environment(String groupContext) {
  +        this(groupContext, defaultRootDiscoveryClass, null);
       }
       
       public Environment(String groupContext, Class rootDiscoveryClass) {
  -        this(groupContext, rootDiscoveryClass, defaultRootDiscoveryClass);
  +        this(groupContext, rootDiscoveryClass, null);
       }
       
       public Environment(String groupContext,
  
  
  

--
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