formatting
[iotcloud.git] / src / java / iotcloud / SlotBuffer.java
index a2bac020e143b30665124e089fd3b2df9d135848..b9758506768663c6fe1e9ff672aae00e990efd77 100644 (file)
@@ -7,7 +7,7 @@ class SlotBuffer {
        private int head;
        private int tail;
        private long oldestseqn;
-       
+
        SlotBuffer() {
                array=new Slot[DEFAULT_SIZE+1];
        }
@@ -17,7 +17,7 @@ class SlotBuffer {
                        return head - tail;
                return (array.length + head) - tail;
        }
-       
+
        void resize(int newsize) {
                if (newsize == (array.length-1))
                        return;
@@ -54,11 +54,11 @@ class SlotBuffer {
                                return null;
                        index-= array.length;
                }
-               
+
                if (index >= array.length ||
                                index >= head)
                        return null;
-               
+
                return array[index];
        }