bloritsch    2002/06/13 06:06:28

  Modified:    all/src/scratchpad/org/apache/avalon/excalibur/i18n/test
                        DefaultBundleLoaderTestCase.java
                        XmlBundleTestCase.java
               
instrument-manager/src/java/org/apache/avalon/excalibur/instrument/manager
                        AbstractInstrumentSample.java InstrumentProxy.java
               monitor/src/test/org/apache/avalon/excalibur/monitor/test
                        MonitorTestCase.java
  Log:
  clean up more unnecessary deprecation warnings
  
  Revision  Changes    Path
  1.9       +1 -4      
jakarta-avalon-excalibur/all/src/scratchpad/org/apache/avalon/excalibur/i18n/test/DefaultBundleLoaderTestCase.java
  
  Index: DefaultBundleLoaderTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/all/src/scratchpad/org/apache/avalon/excalibur/i18n/test/DefaultBundleLoaderTestCase.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefaultBundleLoaderTestCase.java  24 Mar 2002 09:56:40 -0000      1.8
  +++ DefaultBundleLoaderTestCase.java  13 Jun 2002 13:06:27 -0000      1.9
  @@ -22,9 +22,6 @@
       public DefaultBundleLoaderTestCase( String name )
       {
           super( name );
  -
  -        // Set the priority for default log output.
  -        m_logPriority = org.apache.log.Priority.INFO;
       }
   
       public void setUp() throws Exception
  
  
  
  1.12      +1 -4      
jakarta-avalon-excalibur/all/src/scratchpad/org/apache/avalon/excalibur/i18n/test/XmlBundleTestCase.java
  
  Index: XmlBundleTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/all/src/scratchpad/org/apache/avalon/excalibur/i18n/test/XmlBundleTestCase.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XmlBundleTestCase.java    24 Mar 2002 09:56:40 -0000      1.11
  +++ XmlBundleTestCase.java    13 Jun 2002 13:06:27 -0000      1.12
  @@ -30,9 +30,6 @@
       public XmlBundleTestCase( String name )
       {
           super( name );
  -
  -        // Set the priority for default log output.
  -        m_logPriority = org.apache.log.Priority.INFO;
       }
   
       public void setUp() throws Exception
  
  
  
  1.5       +3 -3      
jakarta-avalon-excalibur/instrument-manager/src/java/org/apache/avalon/excalibur/instrument/manager/AbstractInstrumentSample.java
  
  Index: AbstractInstrumentSample.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/instrument-manager/src/java/org/apache/avalon/excalibur/instrument/manager/AbstractInstrumentSample.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractInstrumentSample.java     28 Apr 2002 17:05:41 -0000      1.4
  +++ AbstractInstrumentSample.java     13 Jun 2002 13:06:27 -0000      1.5
  @@ -442,8 +442,8 @@
           synchronized(this)
           {
               DefaultConfiguration state = new DefaultConfiguration( 
"profile-sample", "-" );
  -            state.addAttribute( "name", m_name );
  -            state.addAttribute( "time", Long.toString( m_time ) );
  +            state.setAttribute( "name", m_name );
  +            state.setAttribute( "time", Long.toString( m_time ) );
               
               // Save the history samples so that the newest is first.
               DefaultConfiguration samples = new DefaultConfiguration( 
"history", "-" );
  
  
  
  1.8       +2 -2      
jakarta-avalon-excalibur/instrument-manager/src/java/org/apache/avalon/excalibur/instrument/manager/InstrumentProxy.java
  
  Index: InstrumentProxy.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/instrument-manager/src/java/org/apache/avalon/excalibur/instrument/manager/InstrumentProxy.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- InstrumentProxy.java      29 Apr 2002 16:50:24 -0000      1.7
  +++ InstrumentProxy.java      13 Jun 2002 13:06:27 -0000      1.8
  @@ -805,7 +805,7 @@
       Configuration saveState( boolean useCompactSamples )
       {
           DefaultConfiguration state = new DefaultConfiguration( "instrument", 
"-" );
  -        state.addAttribute( "name", m_name );
  +        state.setAttribute( "name", m_name );
           
           InstrumentSample[] samples = getInstrumentSamples();
           for ( int i = 0; i < samples.length; i++ )
  
  
  
  1.11      +1 -4      
jakarta-avalon-excalibur/monitor/src/test/org/apache/avalon/excalibur/monitor/test/MonitorTestCase.java
  
  Index: MonitorTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/monitor/src/test/org/apache/avalon/excalibur/monitor/test/MonitorTestCase.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- MonitorTestCase.java      13 Jun 2002 12:59:10 -0000      1.10
  +++ MonitorTestCase.java      13 Jun 2002 13:06:27 -0000      1.11
  @@ -37,9 +37,6 @@
       public MonitorTestCase( String name )
       {
           super( name );
  -
  -        // Set the priority for default log output.
  -        m_logPriority = org.apache.log.Priority.INFO;
       }
   
       public void testActiveMonitor()
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to