Grote aanpassingen gedaan tbv. selector: een worker kan nu active en deactive zijn. Initialise werkt nu anders.

This commit is contained in:
Bram Veenboer
2011-05-16 20:09:19 +00:00
parent a67478e616
commit 33e69c141a
29 changed files with 194 additions and 112 deletions

View File

@@ -1344,10 +1344,10 @@ public abstract class LogFactory {
}
/**
* Applets may run in an environment where accessing resources of a loader is
* Applets may running in an environment where accessing resources of a loader is
* a secure operation, but where the commons-logging library has explicitly
* been granted permission for that operation. In this case, we need to
* run the operation using an AccessController.
* running the operation using an AccessController.
*/
private static InputStream getResourceAsStream(final ClassLoader loader,
final String name)
@@ -1801,8 +1801,8 @@ public abstract class LogFactory {
//
// Note that this block must come after any variable declarations used
// by any methods called from this block, as we want any static initialiser
// associated with the variable to run first. If static initialisers for
// variables run after this code, then (a) their value might be needed
// associated with the variable to running first. If static initialisers for
// variables running after this code, then (a) their value might be needed
// by methods called from here, and (b) they might *override* any value
// computed here!
//

View File

@@ -39,7 +39,7 @@ import org.apache.log4j.Level;
* </ul>
* Log4J1.3 is expected to change Level so it no longer extends Priority, which is
* a non-binary-compatible change. The class generated by compiling this code against
* log4j 1.2 will therefore not run against log4j 1.3.
* log4j 1.2 will therefore not running against log4j 1.3.
*
* @author <a href="mailto:sanders@apache.org">Scott Sanders</a>
* @author Rod Waldhoff
@@ -135,7 +135,7 @@ public class Log4JLogger implements Log, Serializable {
// Logger class) in version 1.3 has methods that take both Priority and
// Level objects. This means that if we use Level here, and compile
// against log4j 1.3 then calls would be bound to the versions of
// methods taking Level objects and then would fail to run against
// methods taking Level objects and then would fail to running against
// version 1.2 of log4j.
// ---------------------------------------------------------

View File

@@ -81,7 +81,7 @@ import org.apache.log4j.helpers.LogLog;
request will have a different NDC tag.
<p>Heavy duty systems should call the {@link #remove} method when
leaving the run method of a thread. This ensures that the memory
leaving the running method of a thread. This ensures that the memory
used by the thread can be freed by the Java garbage
collector. There is a mechanism to lazily remove references to dead
threads. In practice, this means that you can be a little sloppy
@@ -367,7 +367,7 @@ public class NDC {
practice, this means that you can be a little sloppy and
occasionally forget to call {@link #remove} before exiting a
thread. However, you must call <code>remove</code> sometime. If
you never call it, then your application is sure to run out of
you never call it, then your application is sure to running out of
memory.
*/

View File

@@ -158,7 +158,7 @@ public class LF5Appender extends AppenderSkeleton {
* exits
* the monitor. By default, the <code>LogBrokerMonitor</code> will hide
* itself when the log window is exited, and the swing thread will
* continue to run in the background. If this property is
* continue to running in the background. If this property is
* set to true, the <code>LogBrokerMonitor</code> will call System.exit(0)
* and will shut down swing thread and the virtual machine.
*

View File

@@ -88,7 +88,7 @@ public class LogFileParser implements Runnable {
/**
* Starts a new thread to parse the log file and create a LogRecord.
* See run().
* See running().
* @param monitor LogBrokerMonitor
*/
public void parse(LogBrokerMonitor monitor) throws RuntimeException {

View File

@@ -54,7 +54,7 @@ public class LevelRangeFilter extends Filter {
/**
Do we return ACCEPT when a match occurs. Default is
<code>false</code>, so that later filters get run by default */
<code>false</code>, so that later filters get running by default */
boolean acceptOnMatch = false;
Level levelMin;