]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/TableIntAllocatorAdapter.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / TableIntAllocatorAdapter.java
index d5111a16a76b81ff00959e13038a3a9ed6b274b9..d4994e694064fd6c1b7fec21c350240a08beae6b 100644 (file)
@@ -1,17 +1,17 @@
-package org.simantics.db.impl;\r
-\r
-public class TableIntAllocatorAdapter implements IntAllocatorI {\r
-    private Table<int[]> table;\r
-    public TableIntAllocatorAdapter(Table<int[]> table) {\r
-        this.table = table;\r
-    }\r
-    @Override\r
-    public int allocate(int size) {\r
-        int tableIndex = table.createNewElement(size);\r
-        return table.checkIndexAndGetRealIndex(tableIndex, size);\r
-    }\r
-    @Override\r
-    public int[] getTable() {\r
-        return table.getTable();\r
-    }\r
-}\r
+package org.simantics.db.impl;
+
+public class TableIntAllocatorAdapter implements IntAllocatorI {
+    private Table<int[]> table;
+    public TableIntAllocatorAdapter(Table<int[]> table) {
+        this.table = table;
+    }
+    @Override
+    public int allocate(int size) {
+        int tableIndex = table.createNewElement(size);
+        return table.checkIndexAndGetRealIndex(tableIndex, size);
+    }
+    @Override
+    public int[] getTable() {
+        return table.getTable();
+    }
+}