summaryrefslogtreecommitdiff
path: root/htroot/processing
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2011-11-25 11:23:52 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2011-11-25 11:23:52 +0000
commit5a55397f990093766398503823ad2b223828beed (patch)
treee54b557443501b6f70c77f17099b84181f8b60d8 /htroot/processing
parentdd1482aaf52763c6b25fa17765dde46307c25320 (diff)
some last-minute performance hacks
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8101 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/processing')
-rwxr-xr-xhtroot/processing/domaingraph/applet/domaingraph.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/htroot/processing/domaingraph/applet/domaingraph.java b/htroot/processing/domaingraph/applet/domaingraph.java
index f4bf3d7d3..c7759fd29 100755
--- a/htroot/processing/domaingraph/applet/domaingraph.java
+++ b/htroot/processing/domaingraph/applet/domaingraph.java
@@ -119,14 +119,14 @@ public void processRequestResponse(int steps) {
</domain>
*/
- int p = line.indexOf("<domain");
+ int p = line.indexOf("<domain",0);
if (p >= 0) {
//println("domain :" + line.substring(p + 8, line.length() - 1).trim());
processDomain(parseProps(line.substring(p + 8, line.length() - 1).trim()));
}
- p = line.indexOf("<reference");
+ p = line.indexOf("<reference",0);
if (p >= 0) {
- int q = line.indexOf("</reference>");
+ int q = line.indexOf("</reference>",0);
if (q > 0) {
int r = line.lastIndexOf('>', q);
if (r > 0) {
@@ -192,7 +192,7 @@ public HashMap parseProps(String s) {
int p;
String z;
for (int i = 0; i < l.length; i++) {
- p = l[i].indexOf('=');
+ p = l[i].indexOf('=',0);
if (p > 0) {
z = l[i].substring(p + 1).trim();
if (z.length() > 0 && z.charAt(0) == '"') z = z.substring(1);