maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core-it/it0010/src/main/java/org/apache/maven/it0010 PersonFinder.java
Date Mon, 07 Mar 2005 23:46:28 GMT
brett       2005/03/07 15:46:28

  Modified:    maven-core-it/it0010/src/main/java/org/apache/maven/it0010
                        PersonFinder.java
  Log:
  only use classworlds at runtime
  
  Revision  Changes    Path
  1.2       +6 -3      maven-components/maven-core-it/it0010/src/main/java/org/apache/maven/it0010/PersonFinder.java
  
  Index: PersonFinder.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core-it/it0010/src/main/java/org/apache/maven/it0010/PersonFinder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PersonFinder.java	3 Nov 2004 22:54:23 -0000	1.1
  +++ PersonFinder.java	7 Mar 2005 23:46:28 -0000	1.2
  @@ -1,8 +1,11 @@
   package org.apache.maven.it0010;
   
  -import org.codehaus.classworlds.ClassRealm;
  -
   public class PersonFinder
   {
  -    private ClassRealm classRealm;
  +    public void findPerson()
  +        throws Exception
  +    {
  +        // look it up at runtime, but do not require it at compile time
  +        Class.forName( "org.codehaus.classworlds.ClassRealm" );
  +    }
   }
  
  
  

Mime
View raw message