dion 2004/01/02 22:29:55 Modified: src/java/org/apache/maven/verifier Tag: MAVEN-1_0-BRANCH LocalSettingsVerifier.java src/java/org/apache/maven/util Tag: MAVEN-1_0-BRANCH HttpUtils.java src/java/org/apache/maven/jelly/tags/jeez Tag: MAVEN-1_0-BRANCH TagDefTag.java Log: Code cleanup Revision Changes Path No revision No revision 1.6.4.1 +5 -5 maven/src/java/org/apache/maven/verifier/LocalSettingsVerifier.java Index: LocalSettingsVerifier.java =================================================================== RCS file: /home/cvs/maven/src/java/org/apache/maven/verifier/LocalSettingsVerifier.java,v retrieving revision 1.6 retrieving revision 1.6.4.1 diff -u -r1.6 -r1.6.4.1 --- LocalSettingsVerifier.java 19 Aug 2003 04:31:38 -0000 1.6 +++ LocalSettingsVerifier.java 3 Jan 2004 06:29:55 -0000 1.6.4.1 @@ -97,22 +97,22 @@ File localRepo = new File( localRepoProp ); - if ( localRepo.exists() == false ) + if ( !localRepo.exists() ) { System.err.println( getMessage( "directory.nonexistant.warning", localRepo ) ); - if ( localRepo.mkdirs() == false ) + if ( !localRepo.mkdirs() ) { throw new RepoConfigException( getMessage( "cannot.create.directory.warning", localRepo ) ); } } - if ( localRepo.isDirectory() == false ) + if ( !localRepo.isDirectory() ) { throw new RepoConfigException( getMessage( "not.directory.warning", localRepo ) ); } - if ( localRepo.canWrite() == false ) + if ( !localRepo.canWrite() ) { throw new RepoConfigException( getMessage( "not.writable.warning", localRepo ) ); } No revision No revision 1.28.4.1 +1 -1 maven/src/java/org/apache/maven/util/HttpUtils.java Index: HttpUtils.java =================================================================== RCS file: /home/cvs/maven/src/java/org/apache/maven/util/HttpUtils.java,v retrieving revision 1.28 retrieving revision 1.28.4.1 diff -u -r1.28 -r1.28.4.1 --- HttpUtils.java 27 Oct 2003 16:33:11 -0000 1.28 +++ HttpUtils.java 3 Jan 2004 06:29:55 -0000 1.28.4.1 @@ -405,4 +405,4 @@ file.setLastModified( modifiedTime ); return true; } -} \ No newline at end of file +} No revision No revision 1.2.10.1 +57 -1 maven/src/java/org/apache/maven/jelly/tags/jeez/TagDefTag.java Index: TagDefTag.java =================================================================== RCS file: /home/cvs/maven/src/java/org/apache/maven/jelly/tags/jeez/TagDefTag.java,v retrieving revision 1.2 retrieving revision 1.2.10.1 diff -u -r1.2 -r1.2.10.1 --- TagDefTag.java 29 Jan 2003 23:54:50 -0000 1.2 +++ TagDefTag.java 3 Jan 2004 06:29:55 -0000 1.2.10.1 @@ -1,5 +1,61 @@ package org.apache.maven.jelly.tags.jeez; +/* ==================================================================== + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2003 The Apache Software Foundation. All rights + * reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: + * "This product includes software developed by the + * Apache Software Foundation (http://www.apache.org/)." + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. + * + * 4. The names "Apache" and "Apache Software Foundation" and + * "Apache Maven" must not be used to endorse or promote products + * derived from this software without prior written permission. For + * written permission, please contact [EMAIL PROTECTED] + * + * 5. Products derived from this software may not be called "Apache", + * "Apache Maven", nor may "Apache" appear in their name, without + * prior written permission of the Apache Software Foundation. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * <http://www.apache.org/>. + * + * ==================================================================== + */ + import org.apache.commons.jelly.JellyTagException; import org.apache.commons.jelly.impl.DynamicTagLibrary; import org.apache.commons.jelly.tags.define.TagTag;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]