[logback-dev] svn commit: r1285 - in logback/trunk/logback-core/src/main/java/ch/qos/logback/core: . status
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Fri Jan 26 16:16:26 CET 2007
Author: ceki
Date: Fri Jan 26 16:16:26 2007
New Revision: 1285
Modified:
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusManager.java
Log:
StatusManager should iterate over Status objects
Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java (original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/BasicStatusManager.java Fri Jan 26 16:16:26 2007
@@ -38,7 +38,7 @@
statusList.add(newStatus);
}
- public Iterator iterator() {
+ public Iterator<Status> iterator() {
return statusList.iterator();
}
Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusManager.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusManager.java (original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusManager.java Fri Jan 26 16:16:26 2007
@@ -14,7 +14,7 @@
public interface StatusManager {
public void add(Status status);
- public Iterator iterator();
+ public Iterator<Status> iterator();
public int getLevel();
/**
* Return the number of entries.
More information about the logback-dev
mailing list