tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kare Nuorteva <k...@satama.com>
Subject [PATCH] jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Taskdef.java
Date Sun, 02 Jan 2000 23:16:29 GMT
few minor bug fixes and cleaning.

Index: Taskdef.java
===================================================================
RCS file:
/home/cvspublic/jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Taskdef.java,v
retrieving revision 1.1
diff -u -r1.1 Taskdef.java
--- Taskdef.java        1999/12/11 23:00:22     1.1
+++ Taskdef.java        2000/01/02 23:15:11
@@ -54,17 +54,17 @@
 
 package org.apache.tools.ant.taskdefs;
 
-import org.apache.tools.ant.*;
-import java.io.*;
-import java.util.*;
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.BuildException;
+
 /**
  * Define a new task - name and class
  *
  * @author costin@dnt.ro
  */
 public class Taskdef extends Task {
-    String name;
-    String value;
+    private String name;
+    private String value;
     
     public void execute() throws BuildException {
        try {
@@ -87,10 +87,10 @@
     }
 
     public void setName( String name) {
-       this.name=name;
+       this.name = name;
     }
 
     public void setClass(String v) {
-       value=v;
+       this.value = v;
     }
 }

Cheers,
Kare 8^)

-- 
Kare Nuorteva, programmer
Satama Interactive, Henry Fordin katu 6 FIN-00150 HELSINKI
tel. +3589 680 51 396, GSM +35840 57 833 57
http://www.satama.com/ http://www.satama.de/

Mime
View raw message