Fixed spelling bug.

I think this is important for other programmers, who don't make the same mistake as the original author.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1417 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
rramthun 19 years ago
parent c45517db46
commit a4e90c4b11

@ -76,7 +76,7 @@ public class yacySeedUploadFile implements yacySeedUploader {
return new String[]{CONFIG_FILE_PATH};
}
public String[] getLibxDependences() {
public String[] getLibxDependencies() {
return new String[]{};
}
}

@ -88,7 +88,7 @@ public class yacySeedUploadFtp implements yacySeedUploader {
return new String[] {CONFIG_FTP_SERVER,CONFIG_FTP_ACCOUNT,CONFIG_FTP_PASSWORD,CONFIG_FTP_PATH};
}
public String[] getLibxDependences() {
public String[] getLibxDependencies() {
return new String[]{};
}

@ -96,7 +96,7 @@ public class yacySeedUploadScp implements yacySeedUploader {
return new String[] {CONFIG_SCP_SERVER,CONFIG_SCP_ACCOUNT,CONFIG_SCP_PASSWORD,CONFIG_SCP_PATH};
}
public String[] getLibxDependences() {
public String[] getLibxDependencies() {
return new String[]{"jsch-0.1.21.jar"};
}

@ -709,7 +709,7 @@ public class yacyCore {
final Class uploaderClass = Class.forName(fullClassName);
final Object theUploader = uploaderClass.newInstance();
if (!(theUploader instanceof yacySeedUploader)) { continue; }
final String[] neededLibx = ((yacySeedUploader)theUploader).getLibxDependences();
final String[] neededLibx = ((yacySeedUploader)theUploader).getLibxDependencies();
if (neededLibx != null) {
for (int libxId=0; libxId < neededLibx.length; libxId++) {
if (javaClassPath.indexOf(neededLibx[libxId]) == -1) {

@ -7,5 +7,5 @@ import de.anomic.server.serverSwitch;
public interface yacySeedUploader {
public String uploadSeedFile(serverSwitch sb, yacySeedDB seedDB, File seedFile) throws Exception;
public String[] getConfigurationOptions();
public String[] getLibxDependences();
public String[] getLibxDependencies();
}

Loading…
Cancel
Save