added keywords, properties

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1715 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
borg-0300 19 years ago
parent 3fd1641893
commit 00975359c5

@ -1,46 +1,48 @@
//serverPortForwarding.java // serverPortForwarding.java
//------------------------------------- // -------------------------------------
//part of YACY // part of YACY
//(C) by Michael Peter Christen; mc@anomic.de // (C) by Michael Peter Christen; mc@anomic.de
//first published on http://www.anomic.de // first published on http://www.anomic.de
//Frankfurt, Germany, 2004 // Frankfurt, Germany, 2004
// //
//This file ist contributed by Martin Thelian // This file ist contributed by Martin Thelian
//last major change: $LastChangedDate$ by $LastChangedBy$
//Revision: $LastChangedRevision$
// //
//This program is free software; you can redistribute it and/or modify // $LastChangedDate$
//it under the terms of the GNU General Public License as published by // $LastChangedRevision$
//the Free Software Foundation; either version 2 of the License, or // $LastChangedBy$
//(at your option) any later version.
// //
//This program is distributed in the hope that it will be useful, // This program is free software; you can redistribute it and/or modify
//but WITHOUT ANY WARRANTY; without even the implied warranty of // it under the terms of the GNU General Public License as published by
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // the Free Software Foundation; either version 2 of the License, or
//GNU General Public License for more details. // (at your option) any later version.
// //
//You should have received a copy of the GNU General Public License // This program is distributed in the hope that it will be useful,
//along with this program; if not, write to the Free Software // but WITHOUT ANY WARRANTY; without even the implied warranty of
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// //
//Using this software in any meaning (reading, learning, copying, compiling, // You should have received a copy of the GNU General Public License
//running) means that you agree that the Author(s) is (are) not responsible // along with this program; if not, write to the Free Software
//for cost, loss of data or any harm that may be caused directly or indirectly // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//by usage of this softare or this documentation. The usage of this software
//is on your own risk. The installation and usage (starting/running) of this
//software may allow other people or application to access your computer and
//any attached devices and is highly dependent on the configuration of the
//software which must be done by the user of the software; the author(s) is
//(are) also not responsible for proper configuration and usage of the
//software, even if provoked by documentation provided together with
//the software.
// //
//Any changes to this file according to the GPL as documented in the file // Using this software in any meaning (reading, learning, copying, compiling,
//gpl.txt aside this file in the shipment you received can be done to the // running) means that you agree that the Author(s) is (are) not responsible
//lines that follows this copyright notice here, but changes must not be // for cost, loss of data or any harm that may be caused directly or indirectly
//done inside the copyright notive above. A re-distribution must contain // by usage of this softare or this documentation. The usage of this software
//the intact and unchanged copyright notice. // is on your own risk. The installation and usage (starting/running) of this
//Contributions and changes to the program code must be marked as such. // software may allow other people or application to access your computer and
// any attached devices and is highly dependent on the configuration of the
// software which must be done by the user of the software; the author(s) is
// (are) also not responsible for proper configuration and usage of the
// software, even if provoked by documentation provided together with
// the software.
//
// Any changes to this file according to the GPL as documented in the file
// gpl.txt aside this file in the shipment you received can be done to the
// lines that follows this copyright notice here, but changes must not be
// done inside the copyright notive above. A re-distribution must contain
// the intact and unchanged copyright notice.
// Contributions and changes to the program code must be marked as such.
package de.anomic.server; package de.anomic.server;

@ -1,47 +1,48 @@
//serverPortForwardingSch.java // serverPortForwardingSch.java
//------------------------------------- // -------------------------------------
//part of YACY // part of YACY
//(C) by Michael Peter Christen; mc@anomic.de // (C) by Michael Peter Christen; mc@anomic.de
//first published on http://www.anomic.de // first published on http://www.anomic.de
//Frankfurt, Germany, 2004 // Frankfurt, Germany, 2004
// //
//This file ist contributed by Martin Thelian // This file ist contributed by Martin Thelian
//last major change: $LastChangedDate$ by $LastChangedBy$
//Revision: $LastChangedRevision$
// //
//This program is free software; you can redistribute it and/or modify // $LastChangedDate$
//it under the terms of the GNU General Public License as published by // $LastChangedRevision$
//the Free Software Foundation; either version 2 of the License, or // $LastChangedBy$
//(at your option) any later version.
// //
//This program is distributed in the hope that it will be useful, // This program is free software; you can redistribute it and/or modify
//but WITHOUT ANY WARRANTY; without even the implied warranty of // it under the terms of the GNU General Public License as published by
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // the Free Software Foundation; either version 2 of the License, or
//GNU General Public License for more details. // (at your option) any later version.
// //
//You should have received a copy of the GNU General Public License // This program is distributed in the hope that it will be useful,
//along with this program; if not, write to the Free Software // but WITHOUT ANY WARRANTY; without even the implied warranty of
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// //
//Using this software in any meaning (reading, learning, copying, compiling, // You should have received a copy of the GNU General Public License
//running) means that you agree that the Author(s) is (are) not responsible // along with this program; if not, write to the Free Software
//for cost, loss of data or any harm that may be caused directly or indirectly // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//by usage of this softare or this documentation. The usage of this software
//is on your own risk. The installation and usage (starting/running) of this
//software may allow other people or application to access your computer and
//any attached devices and is highly dependent on the configuration of the
//software which must be done by the user of the software; the author(s) is
//(are) also not responsible for proper configuration and usage of the
//software, even if provoked by documentation provided together with
//the software.
// //
//Any changes to this file according to the GPL as documented in the file // Using this software in any meaning (reading, learning, copying, compiling,
//gpl.txt aside this file in the shipment you received can be done to the // running) means that you agree that the Author(s) is (are) not responsible
//lines that follows this copyright notice here, but changes must not be // for cost, loss of data or any harm that may be caused directly or indirectly
//done inside the copyright notive above. A re-distribution must contain // by usage of this softare or this documentation. The usage of this software
//the intact and unchanged copyright notice. // is on your own risk. The installation and usage (starting/running) of this
//Contributions and changes to the program code must be marked as such. // software may allow other people or application to access your computer and
// any attached devices and is highly dependent on the configuration of the
// software which must be done by the user of the software; the author(s) is
// (are) also not responsible for proper configuration and usage of the
// software, even if provoked by documentation provided together with
// the software.
//
// Any changes to this file according to the GPL as documented in the file
// gpl.txt aside this file in the shipment you received can be done to the
// lines that follows this copyright notice here, but changes must not be
// done inside the copyright notive above. A re-distribution must contain
// the intact and unchanged copyright notice.
// Contributions and changes to the program code must be marked as such.
package de.anomic.server; package de.anomic.server;
@ -147,7 +148,6 @@ public class serverPortForwardingSch implements serverPortForwarding{
return this.forwardingPort; return this.forwardingPort;
} }
public synchronized void connect() throws IOException { public synchronized void connect() throws IOException {
try{ try{
if ((session != null) && (session.isConnected())) if ((session != null) && (session.isConnected()))
@ -291,7 +291,7 @@ public class serverPortForwardingSch implements serverPortForwarding{
} }
String arrayToString2(String[] a, String separator) { String arrayToString2(String[] a, String separator) {
StringBuffer result = new StringBuffer();// start with first element StringBuffer result = new StringBuffer(); // start with first element
if (a.length > 0) { if (a.length > 0) {
result.append(a[0]); result.append(a[0]);
for (int i=1; i<a.length; i++) { for (int i=1; i<a.length; i++) {
@ -303,7 +303,7 @@ public class serverPortForwardingSch implements serverPortForwarding{
} }
String arrayToString2(boolean[] a, String separator) { String arrayToString2(boolean[] a, String separator) {
StringBuffer result = new StringBuffer();// start with first element StringBuffer result = new StringBuffer(); // start with first element
if (a.length > 0) { if (a.length > 0) {
result.append(a[0]); result.append(a[0]);
for (int i=1; i<a.length; i++) { for (int i=1; i<a.length; i++) {

Loading…
Cancel
Save