Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

changed "patched wrong" to warning, so it goes to the logfile

danielr48ffd61e6a40
diff --git a/build.properties b/build.properties
index bb872979a..0d492fc16 100644
--- a/build.properties
+++ b/build.properties
@@ -1,6 +1,6 @@
# defining some compiler arguments
javacSource=1.5
-javacTarget=1.5
+javacTarget=1.6
# Release Configuration
releaseVersion=0.579
@@ -17,4 +17,4 @@ accessRightsFile=644
# Extension Configuration: singleZip|multiZip|copyToMain
extensionMode=singleZip
-extensionFile=yacy_libx_v${releaseVersion}_${DSTAMP}_${releaseNr}.tar.gz
\ No newline at end of file
+extensionFile=yacy_libx_v${releaseVersion}_${DSTAMP}_${releaseNr}.tar.gz
diff --git a/defaults/yacy.init b/defaults/yacy.init
index b15082f0a..1f79da9e3 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -70,7 +70,8 @@ server.maxTrackingTime = 3600000
# The property here can also be a url where the definition can be loaded.
# In case of privately managed networks, this configuration must be changed BEFORE it is released
# to the members of the separated network peers.
-network.unit.definition = defaults/yacy.network.freeworld.unit
+#network.unit.definition = defaults/yacy.network.freeworld.unit
+network.unit.definition = defaults/yacy.network.intranet.unit
network.group.definition = defaults/yacy.network.group
# Update process properties
diff --git a/source/de/anomic/kelondro/kelondroRowCollection.java b/source/de/anomic/kelondro/kelondroRowCollection.java
index 079fd834a..3ab6971ef 100644
--- a/source/de/anomic/kelondro/kelondroRowCollection.java
+++ b/source/de/anomic/kelondro/kelondroRowCollection.java
@@ -322,7 +322,7 @@ public class kelondroRowCollection {
assert (alength > 0);
assert (astart + alength <= a.length);
if (bugappearance(a, astart, alength)) {
- System.out.println("*** DEBUG warning: wrong a = " + serverLog.arrayList(a, astart, alength));
+ serverLog.logWarning("RowCollection", "wrong a = " + serverLog.arrayList(a, astart, alength));
//return false; // TODO: this is temporary; remote peers may still submit bad entries
}
assert (!(bugappearance(a, astart, alength))) : "a = " + serverLog.arrayList(a, astart, alength);
@@ -991,4 +991,4 @@ public class kelondroRowCollection {
System.out.println(daysSince2000(System.currentTimeMillis()));
*/
}
-}
\ No newline at end of file
+}