Skip to content

Commit b5c071a

Browse files
committed
removed unused import, commented out getComments() method
1 parent 610519c commit b5c071a

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/processing/mode/android/signing/JarSigner.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import java.io.*;
44
import java.security.*;
5-
import java.security.cert.CertificateException;
65
import java.security.cert.X509Certificate;
76

87
/**

src/processing/mode/android/signing/SignedJarBuilder.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
import java.util.zip.ZipEntry;
4444
import java.util.zip.ZipInputStream;
4545

46-
import org.eclipse.core.runtime.*;
4746
import sun.misc.BASE64Encoder;
4847
import sun.security.pkcs.ContentInfo;
4948
import sun.security.pkcs.PKCS7;
@@ -100,12 +99,12 @@ public void write(byte[] b, int off, int len) throws IOException {
10099
public int size() {
101100
return mCount;
102101
}
103-
public byte[] getContents(){
104-
byte[] result = new byte[contents.size()];
105-
for(int i=0;i<contents.size();i++)
106-
result[i]=contents.get(i);
107-
return result;
108-
}
102+
// public byte[] getContents(){
103+
// byte[] result = new byte[contents.size()];
104+
// for(int i=0;i<contents.size();i++)
105+
// result[i]=contents.get(i);
106+
// return result;
107+
// }
109108
}
110109

111110
private JarOutputStream mOutputJar;

0 commit comments

Comments
 (0)