From: <dr...@us...> - 2002-11-11 19:22:42
|
Update of /cvsroot/webmacro/webmacro/src/org/webmacro/util In directory usw-pr-cvs1:/tmp/cvs-serv15906/src/org/webmacro/util Modified Files: CastUtil.java LogTargetFactory.java WMEval.java Log Message: - adding copyright headers where they were missing - fix a few import statements - minor javadoc cleanup here and there - used IDEA to find and fix redundant type casts and unused assignments. Index: CastUtil.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/util/CastUtil.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CastUtil.java 12 Jun 2002 17:17:28 -0000 1.6 --- CastUtil.java 11 Nov 2002 19:22:38 -0000 1.7 *************** *** 1,8 **** /* ! * CastUtil.java * ! * Created on April 19, 2001, 4:02 PM */ - package org.webmacro.util; --- 1,23 ---- /* ! * Copyright (C) 1998-2000 Semiotek Inc. All Rights Reserved. * ! * Redistribution and use in source and binary forms, with or without ! * modification, are permitted under the terms of either of the following ! * Open Source licenses: ! * ! * The GNU General Public License, version 2, or any later version, as ! * published by the Free Software Foundation ! * (http://www.fsf.org/copyleft/gpl.html); ! * ! * or ! * ! * The Semiotek Public License (http://webmacro.org/LICENSE.) ! * ! * This software is provided "as is", with NO WARRANTY, not even the ! * implied warranties of fitness to purpose, or merchantability. You ! * assume all risks and liabilities associated with its use. ! * ! * See www.webmacro.org for more information on the WebMacro project. */ package org.webmacro.util; Index: LogTargetFactory.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/util/LogTargetFactory.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LogTargetFactory.java 11 Jun 2002 17:43:23 -0000 1.2 --- LogTargetFactory.java 11 Nov 2002 19:22:39 -0000 1.3 *************** *** 1,8 **** /* ! * LogTargetFactory.java * ! * Created on August 21, 2001, 1:41 PM */ - package org.webmacro.util; --- 1,23 ---- /* ! * Copyright (C) 1998-2000 Semiotek Inc. All Rights Reserved. * ! * Redistribution and use in source and binary forms, with or without ! * modification, are permitted under the terms of either of the following ! * Open Source licenses: ! * ! * The GNU General Public License, version 2, or any later version, as ! * published by the Free Software Foundation ! * (http://www.fsf.org/copyleft/gpl.html); ! * ! * or ! * ! * The Semiotek Public License (http://webmacro.org/LICENSE.) ! * ! * This software is provided "as is", with NO WARRANTY, not even the ! * implied warranties of fitness to purpose, or merchantability. You ! * assume all risks and liabilities associated with its use. ! * ! * See www.webmacro.org for more information on the WebMacro project. */ package org.webmacro.util; Index: WMEval.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/util/WMEval.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** WMEval.java 11 Jun 2002 17:43:23 -0000 1.8 --- WMEval.java 11 Nov 2002 19:22:39 -0000 1.9 *************** *** 136,140 **** /** * Supplies the parsed rule directly. ! * @param parsedRule The rule parsed possibly from a previous run. */ public void setParsedTemplate(Template parsedTemplate) { --- 136,140 ---- /** * Supplies the parsed rule directly. ! * @param parsedTemplate The rule parsed possibly from a previous run. */ public void setParsedTemplate(Template parsedTemplate) { *************** *** 233,237 **** * Evaluates the context using a file template sending the output to a disk file. * @param context The context to use. ! * @param inputTemplateFileName The input template file in the resource path. * @param outputFileName The absolute path to a file. If null, the context * key OutputFileName must be present. --- 233,237 ---- * Evaluates the context using a file template sending the output to a disk file. * @param context The context to use. ! * @param templateResourceFile The input template file in the resource path. * @param outputFileName The absolute path to a file. If null, the context * key OutputFileName must be present. |