abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r422115 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbderaSource.java
Date Sat, 15 Jul 2006 00:40:10 GMT
Author: rooneg
Date: Fri Jul 14 17:40:07 2006
New Revision: 422115

URL: http://svn.apache.org/viewvc?rev=422115&view=rev
Log:
Clean up AbderaSource a bit.

[ in core/src/main/java/org/apache/abdera/util ]

* AbderaSource.java
  (AbderaSource.getInputStream): Move the 'return null' into the catch
   block so that tools that warn about empty catch blocks are satisfied.

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbderaSource.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbderaSource.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbderaSource.java?rev=422115&r1=422114&r2=422115&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbderaSource.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbderaSource.java
Fri Jul 14 17:40:07 2006
@@ -52,8 +52,9 @@
       pipeout.flush();
       pipeout.close();
       return pipein;
-    } catch (IOException e) {}
-    return null;
+    } catch (IOException e) {
+      return null;
+    }
   }
 
   @Override



Mime
View raw message