diff --git a/src/main/java/net/openhft/chronicle/map/Context.java b/src/main/java/net/openhft/chronicle/map/Context.java index f6728fb40..7a8c53beb 100644 --- a/src/main/java/net/openhft/chronicle/map/Context.java +++ b/src/main/java/net/openhft/chronicle/map/Context.java @@ -21,7 +21,7 @@ package net.openhft.chronicle.map; /** * @author Rob Austin. */ -interface Context extends AutoCloseable { +public interface Context extends AutoCloseable { /** * call this to unlock the maps segment diff --git a/src/main/java/net/openhft/chronicle/map/ReadContext.java b/src/main/java/net/openhft/chronicle/map/ReadContext.java index 188ac65e0..3a7c7795a 100644 --- a/src/main/java/net/openhft/chronicle/map/ReadContext.java +++ b/src/main/java/net/openhft/chronicle/map/ReadContext.java @@ -1,3 +1,21 @@ +/* + * 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; /** diff --git a/src/main/java/net/openhft/chronicle/map/WriteContext.java b/src/main/java/net/openhft/chronicle/map/WriteContext.java index 57555aa71..26cc84baf 100644 --- a/src/main/java/net/openhft/chronicle/map/WriteContext.java +++ b/src/main/java/net/openhft/chronicle/map/WriteContext.java @@ -1,3 +1,20 @@ +/* + * 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; /** @@ -8,6 +25,6 @@ public interface WriteContext extends Context { void removeEntry(); - // todo I have no idea why we have this, as this will aways be done on when calling close() + // todo I have no idea why we have this, as this will always be done on when calling close() // void update(); }