Removed unused class classes

This commit is contained in:
leventov
2015-02-09 08:47:25 +07:00
parent 45b7919abe
commit cfd5a54fec
3 changed files with 2 additions and 51 deletions
@@ -1,28 +0,0 @@
/*
* Copyright 2014 Higher Frequency Trading http://www.higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.openhft.chronicle.map;
import org.jetbrains.annotations.NotNull;
final class Asserts {
public static void assertNotNull(@NotNull Object obj) {
assert obj != null;
}
private Asserts() {}
}
@@ -1,20 +0,0 @@
/*
* Copyright 2014 Higher Frequency Trading http://www.higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.openhft.chronicle.map;
final class SearchState {
}
@@ -90,8 +90,7 @@ public class HashLookupTest {
}
private void valuesEqualsByKey(long k) {
List<Long> values = new ArrayList<Long>();
SearchState searchState = new SearchState();
List<Long> values = new ArrayList<>();
map.init0(k);
map.initSearch0();
long v;
@@ -99,7 +98,7 @@ public class HashLookupTest {
values.add(v);
Set<Long> valueSet = new HashSet<Long>(values);
Assert.assertEquals(values.size(), valueSet.size());
Assert.assertEquals(new HashSet<Long>(referenceMap.get(k)), valueSet);
Assert.assertEquals(new HashSet<>(referenceMap.get(k)), valueSet);
}
private void put(long k, long v) {