summaryrefslogtreecommitdiff
path: root/htroot/processing
diff options
context:
space:
mode:
authorRoland Haeder <roland@mxchange.org>2013-07-17 18:31:30 +0200
committerorbiter <mc@yacy.net>2013-07-17 18:31:30 +0200
commit841a28ae767e9b5c84eaa9826cbaa029a0be5c70 (patch)
tree623e5e830d9885ee583a76d6fcdccc4adb5348ee /htroot/processing
parent98e10f95e2d63b818b1e3847e0320fa585673803 (diff)
Added 'final' for all exception blocks as this helps the Java compiler
to optimize memory usage Conflicts: source/net/yacy/search/Switchboard.java
Diffstat (limited to 'htroot/processing')
-rw-r--r--htroot/processing/domaingraph/applet/domaingraph.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/htroot/processing/domaingraph/applet/domaingraph.java b/htroot/processing/domaingraph/applet/domaingraph.java
index c7759fd29..1e04d0b4f 100644
--- a/htroot/processing/domaingraph/applet/domaingraph.java
+++ b/htroot/processing/domaingraph/applet/domaingraph.java
@@ -53,7 +53,7 @@ public void setup() {
URL url = null;
try {
url = getDocumentBase();
- } catch (NullPointerException e) {}
+ } catch (final NullPointerException e) {}
if (url == null) {
host="localhost";
port=8090;
@@ -163,7 +163,7 @@ public void processCitation(String host, HashMap props) {
String id = (String) props.get("id"); if (id == null) id = "";
try {
String counts = (String) props.get("count"); if (counts != null) count = Integer.parseInt(counts);
- } catch (NumberFormatException e) {}
+ } catch (final NumberFormatException e) {}
// find the two nodes that have a relation
host h = (host) nodes.get(id);
if (h == null) {