1 26 27 package net.sourceforge.groboutils.codecoverage.v2.logger; 28 29 import net.sourceforge.groboutils.codecoverage.v2.IChannelLogger; 30 31 32 39 public class SingleSourceLogger implements IChannelLogger 40 { 41 private short channel; 42 private ISingleSource ss; 43 44 45 public SingleSourceLogger( short channelIndex, ISingleSource ss ) 46 { 47 this.channel = channelIndex; 48 this.ss = ss; 49 } 50 51 52 64 public void cover( String classSignature, short methodIndex, 65 short markIndex ) 66 { 67 if (this.ss != null) 68 { 69 this.ss.cover( this.channel, classSignature, methodIndex, 70 markIndex ); 71 } 72 } 73 } 74 75 | Popular Tags |