git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274936 13f79535-47bb-0310-9956-ffa450edef68master
@@ -87,8 +87,6 @@ public class Target implements TaskContainer { | |||||
private Project project; | private Project project; | ||||
/** Description of this target, if any. */ | /** Description of this target, if any. */ | ||||
private String description = null; | private String description = null; | ||||
/** If adding top-level imported tasks */ | |||||
private boolean addingImportedTasks; | |||||
/** Imported tasks/types being added */ | /** Imported tasks/types being added */ | ||||
private List importedTasks = null; | private List importedTasks = null; | ||||
@@ -82,9 +82,6 @@ public final class TailFilter extends BaseParamFilterReader | |||||
/** Parameter name for the number of lines to be skipped. */ | /** Parameter name for the number of lines to be skipped. */ | ||||
private static final String SKIP_KEY = "skip"; | private static final String SKIP_KEY = "skip"; | ||||
/** Number of lines currently read in. */ | |||||
private long linesRead = 0; | |||||
/** Default number of lines to show */ | /** Default number of lines to show */ | ||||
private static final int DEFAULT_NUM_LINES = 10; | private static final int DEFAULT_NUM_LINES = 10; | ||||
@@ -97,9 +94,6 @@ public final class TailFilter extends BaseParamFilterReader | |||||
/** Whether or not read-ahead been completed. */ | /** Whether or not read-ahead been completed. */ | ||||
private boolean completedReadAhead = false; | private boolean completedReadAhead = false; | ||||
/** Current index position on the buffer. */ | |||||
private int bufferPos = 0; | |||||
/** A line tokenizer */ | /** A line tokenizer */ | ||||
private LineTokenizer lineTokenizer = null; | private LineTokenizer lineTokenizer = null; | ||||
@@ -136,10 +136,6 @@ public class EmailTask | |||||
private Vector filesets = new Vector(); | private Vector filesets = new Vector(); | ||||
/** Character set for MimeMailer*/ | /** Character set for MimeMailer*/ | ||||
private String charset = null; | 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 */ | /** User for SMTP auth */ | ||||
private String user = null; | private String user = null; | ||||
/** Password for SMTP auth */ | /** Password for SMTP auth */ | ||||
@@ -1,7 +1,7 @@ | |||||
/* | /* | ||||
* The Apache Software License, Version 1.1 | * 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. | * reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
@@ -117,8 +117,6 @@ public class CBZip2InputStream extends InputStream implements BZip2Constants { | |||||
private boolean blockRandomised; | private boolean blockRandomised; | ||||
private int bytesIn; | |||||
private int bytesOut; | |||||
private int bsBuff; | private int bsBuff; | ||||
private int bsLive; | private int bsLive; | ||||
private CRC mCrc = new CRC(); | private CRC mCrc = new CRC(); | ||||
@@ -314,8 +312,6 @@ public class CBZip2InputStream extends InputStream implements BZip2Constants { | |||||
bsStream = f; | bsStream = f; | ||||
bsLive = 0; | bsLive = 0; | ||||
bsBuff = 0; | bsBuff = 0; | ||||
bytesOut = 0; | |||||
bytesIn = 0; | |||||
} | } | ||||
private int bsR(int n) { | private int bsR(int n) { | ||||
@@ -272,7 +272,6 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { | |||||
boolean blockRandomised; | boolean blockRandomised; | ||||
int bytesIn; | |||||
int bytesOut; | int bytesOut; | ||||
int bsBuff; | int bsBuff; | ||||
int bsLive; | int bsLive; | ||||
@@ -440,7 +439,6 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { | |||||
private int blockCRC, combinedCRC; | private int blockCRC, combinedCRC; | ||||
private void initialize() throws IOException { | private void initialize() throws IOException { | ||||
bytesIn = 0; | |||||
bytesOut = 0; | bytesOut = 0; | ||||
nBlocksRandomised = 0; | nBlocksRandomised = 0; | ||||
@@ -553,7 +551,6 @@ public class CBZip2OutputStream extends OutputStream implements BZip2Constants { | |||||
bsLive = 0; | bsLive = 0; | ||||
bsBuff = 0; | bsBuff = 0; | ||||
bytesOut = 0; | bytesOut = 0; | ||||
bytesIn = 0; | |||||
} | } | ||||
private void bsFinishedWithStream() throws IOException { | private void bsFinishedWithStream() throws IOException { | ||||
@@ -204,7 +204,6 @@ public class TarEntry implements TarConstants { | |||||
boolean isDir = name.endsWith("/"); | boolean isDir = name.endsWith("/"); | ||||
this.checkSum = 0; | |||||
this.devMajor = 0; | this.devMajor = 0; | ||||
this.devMinor = 0; | this.devMinor = 0; | ||||
this.name = new StringBuffer(name); | this.name = new StringBuffer(name); | ||||
@@ -493,12 +493,11 @@ public class ZipFile { | |||||
* range can be read. | * range can be read. | ||||
*/ | */ | ||||
private class BoundedInputStream extends InputStream { | private class BoundedInputStream extends InputStream { | ||||
private long start, remaining; | |||||
private long remaining; | |||||
private long loc; | private long loc; | ||||
private boolean addDummyByte = false; | private boolean addDummyByte = false; | ||||
BoundedInputStream(long start, long remaining) { | BoundedInputStream(long start, long remaining) { | ||||
this.start = start; | |||||
this.remaining = remaining; | this.remaining = remaining; | ||||
loc = start; | loc = start; | ||||
} | } | ||||