jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] jena git commit: Reformat.
Date Wed, 27 Jul 2016 20:04:01 GMT
Repository: jena
Updated Branches:
  refs/heads/master 275fa9c79 -> 494f36a7c


Reformat.

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

Branch: refs/heads/master
Commit: fa00226573f9a70b1e4078ddad9aaff5e2c4a438
Parents: 275fa9c
Author: Andy Seaborne <andy@apache.org>
Authored: Wed Jul 27 21:02:43 2016 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Wed Jul 27 21:02:43 2016 +0100

----------------------------------------------------------------------
 .../jena/tdb/base/file/BufferAllocatorDirect.java   | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/fa002265/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferAllocatorDirect.java
----------------------------------------------------------------------
diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferAllocatorDirect.java
b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferAllocatorDirect.java
index c51e1a8..dff1129 100644
--- a/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferAllocatorDirect.java
+++ b/jena-tdb/src/main/java/org/apache/jena/tdb/base/file/BufferAllocatorDirect.java
@@ -25,22 +25,20 @@ import java.nio.ByteBuffer ;
  */
 public class BufferAllocatorDirect implements BufferAllocator
 {
+    public BufferAllocatorDirect() {}
+    
     @Override
-    public ByteBuffer allocate(int capacity)
-    {
-        return ByteBuffer.allocateDirect(capacity);
+    public ByteBuffer allocate(int capacity) {
+        return ByteBuffer.allocateDirect(capacity) ;
     }
 
     @Override
-    public void clear()
-    {
+    public void clear() {
         // Do nothing
     }
-    
+
     @Override
-    public void close()
-    {
+    public void close() {
         // Do nothing
     }
-
 }


Mime
View raw message