Fixing CRAIL-4 JIRA ticket

readShort and readLong functions by did not return
the expected types. Now that is fixed in the function
signature.

This closes #1

Signed-off-by: Patrick Stuedi <pstuedi@apache.org>
diff --git a/client/src/main/java/org/apache/crail/CrailBufferedInputStream.java b/client/src/main/java/org/apache/crail/CrailBufferedInputStream.java
index 53e06c0..c0592be 100644
--- a/client/src/main/java/org/apache/crail/CrailBufferedInputStream.java
+++ b/client/src/main/java/org/apache/crail/CrailBufferedInputStream.java
@@ -249,7 +249,7 @@
 		}
 	}
 	
-	public final double readLong() throws Exception {
+	public final long readLong() throws Exception {
 		CrailBuffer slice = getSlice(true);
 		if (slice == null){
 			throw new EOFException();
@@ -268,7 +268,7 @@
 		}
 	}
 	
-	public final double readShort() throws Exception {
+	public final short readShort() throws Exception {
 		CrailBuffer slice = getSlice(true);
 		if (slice == null){
 			throw new EOFException();