avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-excalibur/event/src/java/org/apache/excalibur/event/impl DefaultQueue.java FixedSizeQueue.java
Date Wed, 02 Apr 2003 13:30:53 GMT
bloritsch    2003/04/02 05:30:52

  Modified:    event/src/java/org/apache/excalibur/event/impl
                        DefaultQueue.java FixedSizeQueue.java
  Log:
  minor change increasing performance (internal classes perform better accessing protected
members of the parent class)
  
  Revision  Changes    Path
  1.11      +1 -1      avalon-excalibur/event/src/java/org/apache/excalibur/event/impl/DefaultQueue.java
  
  Index: DefaultQueue.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/event/src/java/org/apache/excalibur/event/impl/DefaultQueue.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultQueue.java	22 Mar 2003 12:46:28 -0000	1.10
  +++ DefaultQueue.java	2 Apr 2003 13:30:51 -0000	1.11
  @@ -69,7 +69,7 @@
   {
       private final Buffer m_elements;
       private final ReentrantLock m_mutex;
  -    private int m_reserve;
  +    protected int m_reserve;
       private final int m_maxSize;
   
       /**
  
  
  
  1.11      +1 -1      avalon-excalibur/event/src/java/org/apache/excalibur/event/impl/FixedSizeQueue.java
  
  Index: FixedSizeQueue.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/event/src/java/org/apache/excalibur/event/impl/FixedSizeQueue.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- FixedSizeQueue.java	22 Mar 2003 12:46:28 -0000	1.10
  +++ FixedSizeQueue.java	2 Apr 2003 13:30:51 -0000	1.11
  @@ -71,7 +71,7 @@
       private final ReentrantLock m_mutex;
       private int m_start = 0;
       private int m_end = 0;
  -    private int m_reserve = 0;
  +    protected int m_reserve = 0;
   
       /**
        * Create a <code>FixedSizedQueue</code> with the specified maximum size.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message