Author: toad
Date: 2009-01-06 21:55:28 +0000 (Tue, 06 Jan 2009)
New Revision: 24945
Modified:
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
Log:
indenting
Modified:
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
===================================================================
---
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
2009-01-06 21:55:00 UTC (rev 24944)
+++
trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
2009-01-06 21:55:28 UTC (rev 24945)
@@ -182,27 +182,27 @@
if(rpath == null) reason = "No URI";
else {
- if(rpath.startsWith(StaticToadlet.ROOT_URL)) {
- return fixer.fixLink(rpath);
- }
-
- if(logMINOR) Logger.minor(this, "Resolved URI (rpath
relative): "+rpath);
-
- // Valid FreenetURI?
- try {
- String p = rpath;
- while(p.startsWith("/")) p = p.substring(1);
- FreenetURI furi = new FreenetURI(p);
- if(logMINOR) Logger.minor(this, "Parsed:
"+furi);
- return processURI(furi, uri, overrideType,
noRelative, inline);
- } catch (MalformedURLException e) {
- if(logMINOR) Logger.minor(this, "Malformed URL
(b): "+e, e);
- if(e.getMessage() != null) {
- reason = l10n("malformedRelativeURL",
"error", e.getMessage());
- } else {
- reason =
l10n("couldNotParseRelativeFreenetURI");
+ if(rpath.startsWith(StaticToadlet.ROOT_URL)) {
+ return fixer.fixLink(rpath);
}
- }
+
+ if(logMINOR) Logger.minor(this, "Resolved URI
(rpath relative): "+rpath);
+
+ // Valid FreenetURI?
+ try {
+ String p = rpath;
+ while(p.startsWith("/")) p =
p.substring(1);
+ FreenetURI furi = new FreenetURI(p);
+ if(logMINOR) Logger.minor(this,
"Parsed: "+furi);
+ return processURI(furi, uri,
overrideType, noRelative, inline);
+ } catch (MalformedURLException e) {
+ if(logMINOR) Logger.minor(this,
"Malformed URL (b): "+e, e);
+ if(e.getMessage() != null) {
+ reason =
l10n("malformedRelativeURL", "error", e.getMessage());
+ } else {
+ reason =
l10n("couldNotParseRelativeFreenetURI");
+ }
+ }
}
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs