tmf/lttng: Update 2014 copyrights
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / trace / indexer / BTreeTest.java
index d3cbc86316f1441941572bc76e063e7d81fcfa5e..2ea65819c97d749595b8f5a7d20d906b590b6af5 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2013 Ericsson
+ * Copyright (c) 2013, 2014 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -38,7 +38,7 @@ public class BTreeTest extends AbstractCheckpointCollectionTest {
 
     @Override
     protected BTree createCollection() {
-        fBTree = new BTree(DEGREE, getFile(), (ITmfPersistentlyIndexable) getTrace());
+        fCheckpointCollection = fBTree = new BTree(DEGREE, getFile(), (ITmfPersistentlyIndexable) getTrace());
         return fBTree;
     }
 
@@ -54,7 +54,7 @@ public class BTreeTest extends AbstractCheckpointCollectionTest {
     @Test
     public void testAccept() {
         for (int i = 0; i < CHECKPOINTS_INSERT_NUM; i++) {
-            TmfCheckpoint checkpoint = new TmfCheckpoint(new TmfTimestamp(i), new TmfLongLocation((long) i), 0);
+            TmfCheckpoint checkpoint = new TmfCheckpoint(new TmfTimestamp(i), new TmfLongLocation(i), 0);
             fBTree.insert(checkpoint);
         }
 
This page took 0.025135 seconds and 5 git commands to generate.