Code cleanup - remove some unused methods and trailing whitespace

git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk@996798 13f79535-47bb-0310-9956-ffa450edef68
master
Sian January 14 years ago
parent 743eb4d225
commit fcc17bda44
  1. 8
      src/main/java/org/apache/harmony/pack200/Archive.java
  2. 22
      src/main/java/org/apache/harmony/pack200/Pack200Exception.java
  3. 2
      src/main/java/org/apache/harmony/unpack200/bytecode/ClassConstantPool.java

@ -221,9 +221,9 @@ public class Archive {
static class SegmentUnit { static class SegmentUnit {
private List classList; private final List classList;
private List fileList; private final List fileList;
private int byteAmount = 0; private int byteAmount = 0;
@ -323,6 +323,10 @@ public class Archive {
public boolean isDirectory(){ public boolean isDirectory(){
return isDirectory; return isDirectory;
} }
public String toString() {
return name;
}
} }
} }

@ -33,26 +33,4 @@ public class Pack200Exception extends Exception {
super(message); super(message);
} }
/**
* Create a new Pack200 exception with the given message and cause
*
* @param message
* the text message to display
* @param cause
* the {@link Throwable} that caused this problem
*/
public Pack200Exception(String message, Throwable cause) {
super(message, cause);
}
/**
* Create a new Pack200 exception with the given cause
*
* @param cause
* the {@link Throwable} that caused this problem
*/
public Pack200Exception(Throwable cause) {
super(cause);
}
} }

@ -115,8 +115,6 @@ public class ClassConstantPool {
// children now become parents // children now become parents
parents.clear(); parents.clear();
parents.addAll(children); parents.addAll(children);
} }
} }

Loading…
Cancel
Save