removed JAR command from ftpc - produces warnings and is not used by YaCy

see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=193&hilit=

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3997 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent f5a4efb76e
commit ec817a2ff5

@ -269,14 +269,6 @@ public class ftpc {
st = null;
return args;
}
private static String[] shift(String args[]) {
if ((args == null) || (args.length == 0)) return args; else {
String[] newArgs = new String[args.length-1];
System.arraycopy(args, 1, newArgs, 0, args.length-1);
return newArgs;
}
}
class cl extends ClassLoader {
@ -638,12 +630,20 @@ public class ftpc {
return true;
}
/*
private static String[] shift(String args[]) {
if ((args == null) || (args.length == 0)) return args; else {
String[] newArgs = new String[args.length-1];
System.arraycopy(args, 1, newArgs, 0, args.length-1);
return newArgs;
}
}
public boolean JAR() {
/*Sun proprietary API may be removed in a future Java release*/
//Sun proprietary API may be removed in a future Java release
sun.tools.jar.Main.main(shift(cmd));
return true;
}
*/
public boolean JJENCODE() {
if (cmd.length != 2) {

Loading…
Cancel
Save