Make final some public API classes that are not intended for subclassing

This commit is contained in:
leventov
2015-12-05 05:39:09 +03:00
parent d5ee1f9aae
commit 7c347aaec3
4 changed files with 4 additions and 4 deletions
@@ -16,7 +16,7 @@
package net.openhft.chronicle.hash.locks;
public class IllegalInterProcessLockStateException extends IllegalMonitorStateException {
public final class IllegalInterProcessLockStateException extends IllegalMonitorStateException {
private static final long serialVersionUID = 0L;
public IllegalInterProcessLockStateException(String s) {
super(s);
@@ -57,7 +57,7 @@ import static net.openhft.chronicle.hash.serialization.StatefulCopyable.copyIfNe
* @see SetMarshaller
* @see MapMarshaller
*/
public class ListMarshaller<T>
public final class ListMarshaller<T>
implements BytesReader<List<T>>, BytesWriter<List<T>>, StatefulCopyable<ListMarshaller<T>> {
// Config fields
@@ -50,7 +50,7 @@ import static net.openhft.chronicle.hash.serialization.StatefulCopyable.copyIfNe
* @see ListMarshaller
* @see SetMarshaller
*/
public class MapMarshaller<K, V>
public final class MapMarshaller<K, V>
implements BytesReader<Map<K, V>>, BytesWriter<Map<K, V>>,
StatefulCopyable<MapMarshaller<K, V>> {
@@ -58,7 +58,7 @@ import static net.openhft.chronicle.hash.serialization.StatefulCopyable.copyIfNe
* @see ListMarshaller
* @see MapMarshaller
*/
public class SetMarshaller<T>
public final class SetMarshaller<T>
implements BytesReader<Set<T>>, BytesWriter<Set<T>>, StatefulCopyable<SetMarshaller<T>> {
// Config fields