01: /*
02: * @(#)Sample3Impl.java
03: *
04: * Original author is Matt Albrecht
05: * groboclown@users.sourceforge.net
06: * http://groboutils.sourceforge.net
07: *
08: * This code sample has been submitted to the public domain, to show uses
09: * for the Interface testing framework.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14: */
15:
16: package net.sourceforge.groboutils.junit.v1.iftc;
17:
18: /**
19: * Sample implementation. Must provide a constructor that takes a
20: * string array as the only argument.
21: * <P>
22: * Formatted for 70-column publication.
23: *
24: * @author Matt Albrecht <a href="mailto:groboclown@users.sourceforge.net">groboclown@users.sourceforge.net</a>
25: * @since July 21, 2002
26: * @version $Date: 2002/07/28 22:43:58 $
27: */
28: public class Sample3Impl extends Sample3 implements Sample2, Sample4 {
29: private String[] defaultStrings;
30:
31: public Sample3Impl() {
32: }
33:
34: public Sample3Impl(String s[]) {
35: this .defaultStrings = s;
36: }
37:
38: public String[] getStrings() {
39: return this .defaultStrings;
40: }
41:
42: public void processStrings() {
43: // do nothing
44: }
45: }
|