jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1438384 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java
Date Fri, 25 Jan 2013 08:25:03 GMT
Author: mduerig
Date: Fri Jan 25 08:25:03 2013
New Revision: 1438384

URL: http://svn.apache.org/viewvc?rev=1438384&view=rev
Log:
exception declared but never thrown

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java?rev=1438384&r1=1438383&r2=1438384&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java
Fri Jan 25 08:25:03 2013
@@ -41,12 +41,12 @@ class BinaryImpl implements Binary {
     //-------------------------------------------------------------< Binary >---
 
     @Override
-    public InputStream getStream() throws RepositoryException {
+    public InputStream getStream() {
         return value.getNewStream();
     }
 
     @Override
-    public int read(byte[] b, long position) throws IOException, RepositoryException {
+    public int read(byte[] b, long position) throws IOException {
         InputStream stream = value.getNewStream();
         try {
             if (position != stream.skip(position)) {



Mime
View raw message