You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by le...@apache.org on 2002/07/19 10:11:51 UTC

cvs commit: jakarta-avalon-excalibur/instrument/src/java/org/apache/avalon/excalibur/instrument AbstractInstrumentable.java AbstractLogEnabledInstrumentable.java

leif        2002/07/19 01:11:51

  Modified:    instrument/src/java/org/apache/avalon/excalibur/instrument
                        AbstractInstrumentable.java
                        AbstractLogEnabledInstrumentable.java
  Log:
  Fix some checkstyle failures.
  
  Revision  Changes    Path
  1.5       +4 -4      jakarta-avalon-excalibur/instrument/src/java/org/apache/avalon/excalibur/instrument/AbstractInstrumentable.java
  
  Index: AbstractInstrumentable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument/src/java/org/apache/avalon/excalibur/instrument/AbstractInstrumentable.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractInstrumentable.java	13 May 2002 12:28:35 -0000	1.4
  +++ AbstractInstrumentable.java	19 Jul 2002 08:11:51 -0000	1.5
  @@ -61,8 +61,8 @@
       {
           if( m_registered )
           {
  -            throw new IllegalStateException( "Instruments can not be added after the " +
  -                                             "Instrumentable is registered with the InstrumentManager." );
  +            throw new IllegalStateException( "Instruments can not be added after the "
  +                + "Instrumentable is registered with the InstrumentManager." );
           }
           m_instrumentList.add( instrument );
       }
  @@ -81,8 +81,8 @@
       {
           if( m_registered )
           {
  -            throw new IllegalStateException( "Child Instrumentables can not be added after the " +
  -                                             "Instrumentable is registered with the InstrumentManager." );
  +            throw new IllegalStateException( "Child Instrumentables can not be added after the "
  +                + "Instrumentable is registered with the InstrumentManager." );
           }
           m_childList.add( child );
       }
  
  
  
  1.4       +4 -4      jakarta-avalon-excalibur/instrument/src/java/org/apache/avalon/excalibur/instrument/AbstractLogEnabledInstrumentable.java
  
  Index: AbstractLogEnabledInstrumentable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument/src/java/org/apache/avalon/excalibur/instrument/AbstractLogEnabledInstrumentable.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractLogEnabledInstrumentable.java	13 May 2002 12:28:36 -0000	1.3
  +++ AbstractLogEnabledInstrumentable.java	19 Jul 2002 08:11:51 -0000	1.4
  @@ -64,8 +64,8 @@
       {
           if( m_registered )
           {
  -            throw new IllegalStateException( "Instruments can not be added after the " +
  -                                             "Instrumentable is registered with the InstrumentManager." );
  +            throw new IllegalStateException( "Instruments can not be added after the "
  +                + "Instrumentable is registered with the InstrumentManager." );
           }
           m_instrumentList.add( instrument );
       }
  @@ -84,8 +84,8 @@
       {
           if( m_registered )
           {
  -            throw new IllegalStateException( "Child Instrumentables can not be added after the " +
  -                                             "Instrumentable is registered with the InstrumentManager." );
  +            throw new IllegalStateException( "Child Instrumentables can not be added after the "
  +                + "Instrumentable is registered with the InstrumentManager." );
           }
           m_childList.add( child );
       }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>