tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config WorkDirSetup.java
Date Tue, 06 Feb 2001 06:45:30 GMT
costin      01/02/05 22:45:30

  Modified:    src/share/org/apache/tomcat/modules/config WorkDirSetup.java
  Log:
  Removed duplicated code ( it is also part of PathSetter )
  
  Revision  Changes    Path
  1.4       +0 -22     jakarta-tomcat/src/share/org/apache/tomcat/modules/config/WorkDirSetup.java
  
  Index: WorkDirSetup.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/WorkDirSetup.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WorkDirSetup.java	2000/12/29 19:53:53	1.3
  +++ WorkDirSetup.java	2001/02/06 06:45:30	1.4
  @@ -115,28 +115,6 @@
       
       // -------------------- Callbacks --------------------
       
  -    /** Adjust context manager paths
  -     */
  -    public void engineInit( ContextManager cm )
  -    	throws TomcatException
  -    {
  -	initWorkDir(cm);
  -    }
  -
  -    private void initWorkDir(ContextManager cm) {
  -	String workDir=cm.getWorkDir();
  -	if( workDir==null ) {
  -	    workDir= DEFAULT_WORK_DIR;
  -	}
  -	
  -	if( ! FileUtil.isAbsolute( workDir )) {
  -	    workDir=FileUtil.
  -		getCanonicalPath(cm.getHome() + File.separator+
  -				 workDir);
  -	}
  -	cm.setWorkDir( workDir );
  -    }
  -
       public void addContext(ContextManager cm, Context ctx) {
   	// not explicitely configured
   	if( ctx.getWorkDir() == null)
  
  
  

Mime
View raw message