This is an automated email from the ASF dual-hosted git repository. tv pushed a commit to branch release-3.2 in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
commit 01a01556dae54746255a27d8470ac44249fcb967 Author: Thomas Vandahl <t...@apache.org> AuthorDate: Sun Jan 8 20:00:12 2023 +0100 Re-introduce deprecated constructor to make japicmp happy --- .../auxiliary/lateral/socket/tcp/LateralTCPListener.java | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPListener.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPListener.java index 8ac7de9e..f7858dfe 100644 --- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPListener.java +++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPListener.java @@ -128,7 +128,7 @@ public class LateralTCPListener<K, V> return newIns; }); } - + /** * Gets the instance attribute of the LateralCacheTCPListener class. * <p> @@ -158,7 +158,19 @@ public class LateralTCPListener<K, V> /** * Only need one since it does work for all regions, just reference by multiple region names. * <p> - * @param ilca + * @param ilca ITCPLateralCacheAttributes + * @deprecated Specify serializer + */ + @Deprecated + protected LateralTCPListener( final ITCPLateralCacheAttributes ilca ) + { + this(ilca, new StandardSerializer()); + } + + /** + * Only need one since it does work for all regions, just reference by multiple region names. + * <p> + * @param ilca ITCPLateralCacheAttributes * @param serializer the serializer to use when receiving */ protected LateralTCPListener( final ITCPLateralCacheAttributes ilca, final IElementSerializer serializer )