[freenet-cvs] r15022 - trunk/plugins/XMLSpider

toad at freenetproject.org toad at freenetproject.org
Fri Sep 7 22:35:03 UTC 2007


Author: toad
Date: 2007-09-07 22:35:02 +0000 (Fri, 07 Sep 2007)
New Revision: 15022

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
trivial indent

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java	2007-09-07 22:34:14 UTC (rev 15021)
+++ trunk/plugins/XMLSpider/XMLSpider.java	2007-09-07 22:35:02 UTC (rev 15022)
@@ -251,34 +251,34 @@
 
 		try {
 		
-		ClientMetadata cm = result.getMetadata();
-		Bucket data = result.asBucket();
-		String mimeType = cm.getMIMEType();
-
-		sizeOfURIs.put(uri.toString(), new Long(data.size()));
-		mimeOfURIs.put(uri.toString(), mimeType);
-		PageCallBack page = new PageCallBack((Integer) uriIds.get(uri));
-		Logger.minor(this, "Successful: "+uri+" : "+page.id);
-		inlinks.put(page.id, new Vector());
-		outlinks.put(page.id, new Vector());
-		/*
-		 * instead of passing the current object, the pagecallback object for every page is passed to the content filter
-		 * this is to allow inlinks and outlinks be indexed by specific pages
-		 */
-	
-		try {
-			Logger.minor(this, "Filtering "+uri+" : "+page.id);
-			ContentFilter.filter(data, new NullBucketFactory(), mimeType, uri.toURI("http://127.0.0.1:8888/"), page);
-		} catch (UnsafeContentTypeException e) {
-			return; // Ignore
-		} catch (IOException e) {
-			Logger.error(this, "Bucket error?: " + e, e);
-		} catch (URISyntaxException e) {
-			Logger.error(this, "Internal error: " + e, e);
+			ClientMetadata cm = result.getMetadata();
+			Bucket data = result.asBucket();
+			String mimeType = cm.getMIMEType();
+			
+			sizeOfURIs.put(uri.toString(), new Long(data.size()));
+			mimeOfURIs.put(uri.toString(), mimeType);
+			PageCallBack page = new PageCallBack((Integer) uriIds.get(uri));
+			Logger.minor(this, "Successful: "+uri+" : "+page.id);
+			inlinks.put(page.id, new Vector());
+			outlinks.put(page.id, new Vector());
+			/*
+			 * instead of passing the current object, the pagecallback object for every page is passed to the content filter
+			 * this is to allow inlinks and outlinks be indexed by specific pages
+			 */
+			
+			try {
+				Logger.minor(this, "Filtering "+uri+" : "+page.id);
+				ContentFilter.filter(data, new NullBucketFactory(), mimeType, uri.toURI("http://127.0.0.1:8888/"), page);
+			} catch (UnsafeContentTypeException e) {
+				return; // Ignore
+			} catch (IOException e) {
+				Logger.error(this, "Bucket error?: " + e, e);
+			} catch (URISyntaxException e) {
+				Logger.error(this, "Internal error: " + e, e);
+			} finally {
+				data.free();
+			}
 		} finally {
-			data.free();
-		}
-		} finally {
 			synchronized (this) {
 				runningFetchesByURI.remove(uri);
 			}




More information about the cvs mailing list