001 /*
002 * Cobertura - http://cobertura.sourceforge.net/
003 *
004 * Copyright (C) 2003 jcoverage ltd.
005 * Copyright (C) 2005 Mark Doliner <thekingant@users.sourceforge.net>
006 *
007 * Cobertura is free software; you can redistribute it and/or modify
008 * it under the terms of the GNU General Public License as published
009 * by the Free Software Foundation; either version 2 of the License,
010 * or (at your option) any later version.
011 *
012 * Cobertura is distributed in the hope that it will be useful, but
013 * WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015 * General Public License for more details.
016 *
017 * You should have received a copy of the GNU General Public License
018 * along with Cobertura; if not, write to the Free Software
019 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
020 * USA
021 */
022
023 package net.sourceforge.cobertura.util;
024
025 import java.io.PrintStream;
026
027 public abstract class Copyright
028 {
029 public static final int NAME = 0;
030 public static final int YEARS = 1;
031
032 public static final String[][] COPYRIGHT = new String[][] {
033 { "jcoverage ltd.", "2003" },
034 { "Mark Doliner <thekingant@users.sourceforge.net>", "2005" } };
035
036 public static void print(PrintStream out)
037 {
038 out.println("Cobertura " + Version.VERSION_STRING);
039 for (int i = 0; i < COPYRIGHT.length; i++)
040 {
041 out.println("Copyright (C) " + COPYRIGHT[i][YEARS] + " "
042 + COPYRIGHT[i][NAME]);
043 }
044 out
045 .println("Cobertura is licensed under the GNU General Public License");
046 out.println("Cobertura comes with ABSOLUTELY NO WARRANTY");
047 }
048 }