EMMA Coverage Report (generated Thu Jan 20 11:39:44 EST 2011)
[all classes][com.hammurapi.common]

COVERAGE SUMMARY FOR SOURCE FILE [InlineExecutor.java]

nameclass, %method, %block, %line, %
InlineExecutor.java0%   (0/1)0%   (0/3)0%   (0/11)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class InlineExecutor0%   (0/1)0%   (0/3)0%   (0/11)0%   (0/4)
<static initializer> 0%   (0/1)0%   (0/5)0%   (0/2)
InlineExecutor (): void 0%   (0/1)0%   (0/3)0%   (0/1)
execute (Runnable): void 0%   (0/1)0%   (0/3)0%   (0/2)

1package com.hammurapi.common;
2 
3import java.util.concurrent.Executor;
4 
5/**
6 * Executes command in the current thread.
7 * This class is used by multi-threaded routines when 
8 * another implementation of executor is not available to simplify the logic
9 * by not having <code>if (executor==null)</code> branch.
10 * @author Pavel Vlasov
11 *
12 */
13public class InlineExecutor implements Executor {
14        
15        /**
16         * Singleton inline executor.
17         */
18        public static final Executor INSTANCE = new InlineExecutor();
19 
20        public void execute(Runnable command) {
21                command.run();
22        }
23 
24}

[all classes][com.hammurapi.common]
EMMA 2.0.5312 EclEmma Fix 2 (C) Vladimir Roubtsov