Repository: gora
Updated Branches:
  refs/heads/master 259f16353 -> 498c783eb


GORA-469 gora-core build problem is solved under jdk1.8


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/2a3ecfbc
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/2a3ecfbc
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/2a3ecfbc

Branch: refs/heads/master
Commit: 2a3ecfbc951e3d2032b2df7e9fb9198a3ae8ebf7
Parents: 259f163
Author: cihad guzel <cguz...@gmail.com>
Authored: Sat Aug 27 19:37:29 2016 +0300
Committer: cihad guzel <cguz...@gmail.com>
Committed: Sat Aug 27 20:05:57 2016 +0300

----------------------------------------------------------------------
 .../src/test/java/org/apache/gora/util/TestIOUtils.java | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/2a3ecfbc/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
----------------------------------------------------------------------
diff --git a/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java 
b/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
index ba1b44e..d0f3e1c 100644
--- a/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
+++ b/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
@@ -138,13 +138,11 @@ public class TestIOUtils {
       }
       
       //assert that the end of input is reached
-      try {
-        long skipped = dis.skip(1);
-        assertEquals(0, skipped);
-      }catch (EOFException expected) {
-        //either should throw exception or return 0 as skipped
-      }
-    }finally {
+      long skipped = dis.skip(1);
+      assertEquals(0, skipped);
+    } catch (EOFException expected) {
+      //either should throw exception or return 0 as skipped
+    } finally {
       org.apache.hadoop.io.IOUtils.closeStream(dos);
       org.apache.hadoop.io.IOUtils.closeStream(os);
       org.apache.hadoop.io.IOUtils.closeStream(dis);

Reply via email to