krysalis-update/src/java/org/krysalis/depot/update/updater ConfiguredArtifactUpdater.java,1.1,1.2 DefaultArtifactUpdater.java,1.1,1.2

Nick Chalko <[email protected]> Wed, 08 Dec 2004 09:11:50 +0000
Newsgroups gmane.comp.krysalis.cvs
Message-ID <[email protected]>
Update of /cvsroot/krysalis/krysalis-update/src/java/org/krysalis/depot/update/updater
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26470/src/java/org/krysalis/depot/update/updater

Modified Files:
	ConfiguredArtifactUpdater.java DefaultArtifactUpdater.java 
Log Message:
format

Index: ConfiguredArtifactUpdater.java
===================================================================
RCS file: /cvsroot/krysalis/krysalis-update/src/java/org/krysalis/depot/update/updater/ConfiguredArtifactUpdater.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ConfiguredArtifactUpdater.java	8 Dec 2004 09:06:27 -0000	1.1
--- ConfiguredArtifactUpdater.java	8 Dec 2004 09:11:48 -0000	1.2
***************
*** 22,43 ****
  
  /**
!  * A StandardResourceUpdater is a {@link org.krysalis.depot.update.updater.DefaultArtifactUpdater }
!  * that configures itself from an XML configuration file.
   * 
   * @author arb_jack
   */
  public class ConfiguredArtifactUpdater extends DefaultArtifactUpdater {
! 	
  	private String m_filename = "updater.xml";
! 	
  	/**
  	 * @param id
  	 * @throws UpdateException
  	 */
! 	public ConfiguredArtifactUpdater(String id, String filename) throws UpdateException {
  		super(id);
! 		
  		m_filename = filename;
! 		
  		initClass();
  	}
--- 22,45 ----
  
  /**
!  * A StandardResourceUpdater is a
!  * {@link org.krysalis.depot.update.updater.DefaultArtifactUpdater }that
!  * configures itself from an XML configuration file.
   * 
   * @author arb_jack
   */
  public class ConfiguredArtifactUpdater extends DefaultArtifactUpdater {
! 
  	private String m_filename = "updater.xml";
! 
  	/**
  	 * @param id
  	 * @throws UpdateException
  	 */
! 	public ConfiguredArtifactUpdater(String id, String filename)
! 			throws UpdateException {
  		super(id);
! 
  		m_filename = filename;
! 
  		initClass();
  	}
***************
*** 47,52 ****
  	 * @throws UpdateException
  	 */
! 	public ConfiguredArtifactUpdater(ArtifactUpdater.Identifier id, String filename)
! 		throws UpdateException {
  		super(id);
  		m_filename = filename;
--- 49,54 ----
  	 * @throws UpdateException
  	 */
! 	public ConfiguredArtifactUpdater(ArtifactUpdater.Identifier id,
! 			String filename) throws UpdateException {
  		super(id);
  		m_filename = filename;
***************
*** 61,65 ****
  		initClass();
  	}
! 	
  	private void initClass() {
  		// Configure from the XML file...
--- 63,67 ----
  		initClass();
  	}
! 
  	private void initClass() {
  		// Configure from the XML file...

Index: DefaultArtifactUpdater.java
===================================================================
RCS file: /cvsroot/krysalis/krysalis-update/src/java/org/krysalis/depot/update/updater/DefaultArtifactUpdater.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DefaultArtifactUpdater.java	8 Dec 2004 09:06:27 -0000	1.1
--- DefaultArtifactUpdater.java	8 Dec 2004 09:11:48 -0000	1.2
***************
*** 20,28 ****
  import org.krysalis.depot.update.UpdateException;
  
- 
- 
  /**
!  * A DefaultResourceUpdater is a {@link org.krysalis.depot.update.ArtifactUpdater} with the
!  * default settings selected.
   * 
   * @see DefaultResourceUpdater, StandardResourceUpdater
--- 20,27 ----
  import org.krysalis.depot.update.UpdateException;
  
  /**
!  * A DefaultResourceUpdater is a
!  * {@link org.krysalis.depot.update.ArtifactUpdater}with the default settings
!  * selected.
   * 
   * @see DefaultResourceUpdater, StandardResourceUpdater
***************
*** 32,36 ****
  public class DefaultArtifactUpdater extends ArtifactUpdater {
  
- 
  	/**
  	 * @param id
--- 31,34 ----
***************
*** 47,51 ****
  	 */
  	public DefaultArtifactUpdater(ArtifactUpdater.Identifier id)
! 		throws UpdateException {
  		super(id);
  		// TODO Auto-generated constructor stub
--- 45,49 ----
  	 */
  	public DefaultArtifactUpdater(ArtifactUpdater.Identifier id)
! 			throws UpdateException {
  		super(id);
  		// TODO Auto-generated constructor stub



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/