SimpleFeature sf1 = add(store, 10, 20);
assertTrue(store.contains(sf1));
- try
- {
- store.remove("what is this?");
- } catch (ClassCastException e)
- {
- // expected;
- }
+ // try
+ // {
+ // store.remove("what is this?");
+ // } catch (ClassCastException e)
+ // {
+ // // expected;
+ // }
assertFalse(store.remove(null));
/*
assertTrue(store.contains(sf3));
assertFalse(store.contains(null));
- try
- {
- assertFalse(store.contains("junk"));
- } catch (ClassCastException e)
- {
- // expected;
- }
+ // try
+ // {
+ // assertFalse(store.contains("junk"));
+ // } catch (ClassCastException e)
+ // {
+ // // expected;
+ // }
}
@Test(groups = "Functional")
IntervalStore<SimpleFeature> store = new IntervalStore<>();
SimpleFeature sf1 = add(store, 10, 20);
assertTrue(store.contains(sf1));
-
- try
- {
- store.remove("what is this?");
- } catch (ClassCastException e)
- {
- // expected;
- }
+ //
+ // try
+ // {
+ // store.remove("what is this?");
+ // } catch (ClassCastException e)
+ // {
+ // // expected;
+ // }
assertFalse(store.remove(null));
/*
assertTrue(store.contains(sf3));
assertFalse(store.contains(null));
- try
- {
- assertFalse(store.contains("junk"));
- } catch (ClassCastException e)
- {
- // expected;
- }
+ // try
+ // {
+ // assertFalse(store.contains("junk"));
+ // } catch (ClassCastException e)
+ // {
+ // // expected;
+ // }
}
@Test(groups = "Functional")