CVS update: talon/src/java/talon/util

From: cvs@openprivacy.org
Date: Thu Feb 08 2001 - 22:31:42 PST

  • Next message: cvs@openprivacy.org: "CVS update: talon/src/java/talon"

    Date: Thursday February 8, 19101 @ 22:31
    Author: burton
    CVSWEB Options: -------------------

    Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

    View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util

    -----------------------------------

    Update of /usr/local/cvs/public/talon/src/java/talon/util
    In directory giga:/tmp/cvs-serv22487/src/java/talon/util

    Modified Files:
            BasePropertyManager.java
    Log Message:
    on demand components should work...

    *****************************************************************
    File: talon/src/java/talon/util/BasePropertyManager.java

    CVSWEB Options: -------------------

    CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util/BasePropertyManager.java?annotate=1.5

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util/BasePropertyManager.java?rev=1.5&content-type=text/x-cvsweb-markup

    CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util/BasePropertyManager.java.diff?r1=1.5&r2=1.4

    -----------------------------------

    Index: talon/src/java/talon/util/BasePropertyManager.java
    diff -u talon/src/java/talon/util/BasePropertyManager.java:1.4 talon/src/java/talon/util/BasePropertyManager.java:1.5
    --- talon/src/java/talon/util/BasePropertyManager.java:1.4 Wed Feb 7 01:59:34 2001
    +++ talon/src/java/talon/util/BasePropertyManager.java Thu Feb 8 22:31:42 2001
    @@ -20,7 +20,7 @@
      * Base class for handling properties.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
      */
     public abstract class BasePropertyManager extends BaseComponent implements Component, PropertyManager {
     
    @@ -29,7 +29,7 @@
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public String getProperty( String name ) {
             return this.props.getProperty( name );
    @@ -38,7 +38,7 @@
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public String getProperty( String name, String _default ) {
     
    @@ -54,7 +54,7 @@
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public boolean getBoolean( String name ) {
             String value = getProperty( name );
    @@ -71,7 +71,7 @@
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public Vector getVector( String name ) {
     
    @@ -87,7 +87,6 @@
                     break;
                 }
     
    - //Logger.debug( "Found vector prop: " + prop + " for name: " + name );
                 v.addElement( prop );
                 
                 ++i;
    @@ -99,13 +98,13 @@
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public Hashtable getGroup( String key ) {
     
             Enumeration keys = getKeys();
             Hashtable result = new Hashtable();
    -
    +
             while ( keys.hasMoreElements() ) {
     
                 String name = (String)keys.nextElement();
    @@ -121,9 +120,8 @@
                     result.put( name, value );
                 }
                 
    -
             }
    -
    +
             //if no values were found... return null
             if ( result.size() == 0 ) {
                 return null;
    @@ -131,12 +129,13 @@
                 return result;
             }
     
    +
         }
     
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public PropertyManager setProperty( String name, String value ) {
             this.props.put( name, value );
    @@ -146,7 +145,7 @@
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public PropertyManager setBoolean( String name, boolean value ) {
     
    @@ -161,7 +160,7 @@
         /**
          * @see PropertyManager
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public Enumeration getKeys() {
             return this.props.keys();
    @@ -171,7 +170,7 @@
          *
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BasePropertyManager.java,v 1.4 2001/02/07 09:59:34 burton Exp $
    + * @version $Id: BasePropertyManager.java,v 1.5 2001/02/09 06:31:42 burton Exp $
          */
         public void setProperties( Properties props ) {
             this.props = props;



    This archive was generated by hypermail 2b30 : Thu Feb 08 2001 - 22:32:33 PST