donaldp 01/11/02 18:15:10 Modified: src/java/org/apache/avalon/phoenix/components/deployer DefaultDeploymentRecorder.java Log: Run formatter over file. Revision Changes Path 1.4 +11 -11 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/DefaultDeploymentRecorder.java Index: DefaultDeploymentRecorder.java =================================================================== RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/DefaultDeploymentRecorder.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- DefaultDeploymentRecorder.java 2001/11/02 23:27:52 1.3 +++ DefaultDeploymentRecorder.java 2001/11/03 02:15:10 1.4 @@ -9,8 +9,8 @@ import java.util.HashMap; import org.apache.avalon.framework.logger.AbstractLoggable; -import org.apache.avalon.phoenix.interfaces.DeploymentRecorder; import org.apache.avalon.phoenix.interfaces.DeploymentException; +import org.apache.avalon.phoenix.interfaces.DeploymentRecorder; import org.apache.avalon.phoenix.tools.installer.Installation; /** @@ -20,26 +20,26 @@ */ public class DefaultDeploymentRecorder extends AbstractLoggable - implements DeploymentRecorder { - + implements DeploymentRecorder +{ private final HashMap m_installations = new HashMap(); public synchronized void recordInstallation( final String name, final Installation installation ) - throws DeploymentException + throws DeploymentException { if( null == installation ) { m_installations.remove( name ); } else - { - m_installations.put( name, installation ); + { + m_installations.put( name, installation ); } - } + } - public synchronized Installation fetchInstallation( final String name ) - throws DeploymentException + public synchronized Installation fetchInstallation( final String name ) + throws DeploymentException { - return (Installation)m_installations.get( name ); - } + return (Installation)m_installations.get( name ); + } }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>