Package: DummyParserLogger

DummyParserLogger

nameinstructionbranchcomplexitylinemethod
DummyParserLogger()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
errorReports()
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
outputErrorMsg(Exception, String)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2008, 2010 VMware Inc.
3: * All rights reserved. This program and the accompanying materials
4: * are made available under the terms of the Eclipse Public License v1.0
5: * which accompanies this distribution, and is available at
6: * http://www.eclipse.org/legal/epl-v10.html
7: *
8: * Contributors:
9: * VMware Inc. - initial contribution
10: *******************************************************************************/
11:
12: package org.eclipse.virgo.util.osgi.manifest.parse;
13:
14: /**
15: * A dummy implementation of {@link ParserLogger} that swallows all
16: * error messages and always returns null from {@link #errorReports()}.
17: *
18: * <strong>Concurrent Semantics</strong><br />
19: *
20: * Thread-safe.
21: *
22: */
23: public class DummyParserLogger implements ParserLogger {
24:
25: /**
26: * {@inheritDoc}
27: */
28: public String[] errorReports() {
29: return null;
30: }
31:
32: /**
33: * {@inheritDoc}
34: */
35: public void outputErrorMsg(Exception re, String item) {
36: }
37: }