mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Make final some public API classes that are not intended for subclassing
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user