bodewig 2003/07/24 07:20:56
Modified: src/main/org/apache/tools/ant Target.java
src/main/org/apache/tools/ant/filters TailFilter.java
src/main/org/apache/tools/ant/taskdefs/email EmailTask.java
src/main/org/apache/tools/bzip2 CBZip2InputStream.java
CBZip2OutputStream.java
src/main/org/apache/tools/tar TarEntry.java
src/main/org/apache/tools/zip ZipFile.java
Log:
Remove unused fields
Revision Changes Path
1.43 +0 -2 ant/src/main/org/apache/tools/ant/Target.java
Index: Target.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Target.java,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- Target.java 18 Jul 2003 12:45:55 -0000 1.42
+++ Target.java 24 Jul 2003 14:20:56 -0000 1.43
@@ -87,8 +87,6 @@
private Project project;
/** Description of this target, if any. */
private String description = null;
- /** If adding top-level imported tasks */
- private boolean addingImportedTasks;
/** Imported tasks/types being added */
private List importedTasks = null;
1.14 +0 -6 ant/src/main/org/apache/tools/ant/filters/TailFilter.java
Index: TailFilter.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/filters/TailFilter.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- TailFilter.java 23 Jul 2003 11:32:12 -0000 1.13
+++ TailFilter.java 24 Jul 2003 14:20:56 -0000 1.14
@@ -82,9 +82,6 @@
/** Parameter name for the number of lines to be skipped. */
private static final String SKIP_KEY = "skip";
- /** Number of lines currently read in. */
- private long linesRead = 0;
-
/** Default number of lines to show */
private static final int DEFAULT_NUM_LINES = 10;
@@ -96,9 +93,6 @@
/** Whether or not read-ahead been completed. */
private boolean completedReadAhead = false;
-
- /** Current index position on the buffer. */
- private int bufferPos = 0;
/** A line tokenizer */
private LineTokenizer lineTokenizer = null;
1.23 +0 -4
ant/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
Index: EmailTask.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- EmailTask.java 19 Jul 2003 08:11:03 -0000 1.22
+++ EmailTask.java 24 Jul 2003 14:20:56 -0000 1.23
@@ -136,10 +136,6 @@
private Vector filesets = new Vector();
/** Character set for MimeMailer*/
private String charset = null;
- /** if set to true, the email will not be actually sent */
- private boolean debugonly = false;
- /** a location where to print the email message */
- private File debugoutput;
/** User for SMTP auth */
private String user = null;
/** Password for SMTP auth */
1.14 +1 -5
ant/src/main/org/apache/tools/bzip2/CBZip2InputStream.java
Index: CBZip2InputStream.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/bzip2/CBZip2InputStream.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- CBZip2InputStream.java 9 Jul 2003 13:44:49 -0000 1.13
+++ CBZip2InputStream.java 24 Jul 2003 14:20:56 -0000 1.14
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2001-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -117,8 +117,6 @@
private boolean blockRandomised;
- private int bytesIn;
- private int bytesOut;
private int bsBuff;
private int bsLive;
private CRC mCrc = new CRC();
@@ -314,8 +312,6 @@
bsStream = f;
bsLive = 0;
bsBuff = 0;
- bytesOut = 0;
- bytesIn = 0;
}
private int bsR(int n) {
1.17 +0 -3
ant/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java
Index: CBZip2OutputStream.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- CBZip2OutputStream.java 24 Jul 2003 13:48:16 -0000 1.16
+++ CBZip2OutputStream.java 24 Jul 2003 14:20:56 -0000 1.17
@@ -272,7 +272,6 @@
boolean blockRandomised;
- int bytesIn;
int bytesOut;
int bsBuff;
int bsLive;
@@ -440,7 +439,6 @@
private int blockCRC, combinedCRC;
private void initialize() throws IOException {
- bytesIn = 0;
bytesOut = 0;
nBlocksRandomised = 0;
@@ -553,7 +551,6 @@
bsLive = 0;
bsBuff = 0;
bytesOut = 0;
- bytesIn = 0;
}
private void bsFinishedWithStream() throws IOException {
1.18 +0 -1 ant/src/main/org/apache/tools/tar/TarEntry.java
Index: TarEntry.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/tar/TarEntry.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- TarEntry.java 24 Jul 2003 13:14:31 -0000 1.17
+++ TarEntry.java 24 Jul 2003 14:20:56 -0000 1.18
@@ -204,7 +204,6 @@
boolean isDir = name.endsWith("/");
- this.checkSum = 0;
this.devMajor = 0;
this.devMinor = 0;
this.name = new StringBuffer(name);
1.7 +2 -3 ant/src/main/org/apache/tools/zip/ZipFile.java
Index: ZipFile.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/zip/ZipFile.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ZipFile.java 15 Jul 2003 14:54:15 -0000 1.6
+++ ZipFile.java 24 Jul 2003 14:20:56 -0000 1.7
@@ -493,12 +493,11 @@
* range can be read.
*/
private class BoundedInputStream extends InputStream {
- private long start, remaining;
+ private long remaining;
private long loc;
private boolean addDummyByte = false;
BoundedInputStream(long start, long remaining) {
- this.start = start;
this.remaining = remaining;
loc = start;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]