[logback-dev] svn commit: r1464 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/helpers

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Mar 27 11:32:23 CEST 2007


Author: seb
Date: Tue Mar 27 11:32:23 2007
New Revision: 1464

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/helpers/CyclicBuffer.java

Log:
minor modification: the get() method now returns the generic type

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/helpers/CyclicBuffer.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/helpers/CyclicBuffer.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/helpers/CyclicBuffer.java	Tue Mar 27 11:32:23 2007
@@ -82,7 +82,7 @@
    * is outside the range 0 to the number of elements currently in the buffer,
    * then <code>null</code> is returned.
    */
-  public Object get(int i) {
+  public E get(int i) {
     if (i < 0 || i >= numElems)
       return null;
 



More information about the logback-dev mailing list