From 28e8ba547607a5461173b24a69e1bb9b1d3944d7 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Mon, 18 Oct 2010 13:06:44 +0000 Subject: [PATCH] serialVersionUID git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023782 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/collections/map/TestCompositeMap.java | 4 ++++ .../org/apache/commons/collections/set/TestCompositeSet.java | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/test/org/apache/commons/collections/map/TestCompositeMap.java b/src/test/org/apache/commons/collections/map/TestCompositeMap.java index 3376513aa..67881ce35 100644 --- a/src/test/org/apache/commons/collections/map/TestCompositeMap.java +++ b/src/test/org/apache/commons/collections/map/TestCompositeMap.java @@ -135,6 +135,8 @@ public class TestCompositeMap extends AbstractTestIterableMap { public void testResolveCollision() { CompositeMap map = new CompositeMap(buildOne(), buildTwo(), new CompositeMap.MapMutator() { + private static final long serialVersionUID = 1L; + public void resolveCollision(CompositeMap composite, Map existing, Map added, @@ -160,6 +162,7 @@ public class TestCompositeMap extends AbstractTestIterableMap { public void testPut() { CompositeMap map = new CompositeMap(buildOne(), buildTwo(), new CompositeMap.MapMutator() { + private static final long serialVersionUID = 1L; public void resolveCollision(CompositeMap composite, Map existing, Map added, @@ -185,6 +188,7 @@ public class TestCompositeMap extends AbstractTestIterableMap { public void testPutAll() { CompositeMap map = new CompositeMap(buildOne(), buildTwo(), new CompositeMap.MapMutator() { + private static final long serialVersionUID = 1L; public void resolveCollision(CompositeMap composite, Map existing, Map added, diff --git a/src/test/org/apache/commons/collections/set/TestCompositeSet.java b/src/test/org/apache/commons/collections/set/TestCompositeSet.java index 0b96ec198..2f59a8f2a 100644 --- a/src/test/org/apache/commons/collections/set/TestCompositeSet.java +++ b/src/test/org/apache/commons/collections/set/TestCompositeSet.java @@ -99,6 +99,8 @@ public class TestCompositeSet extends AbstractTestSet { Set two = buildTwo(); CompositeSet set = new CompositeSet(new Set[] { one, two }); set.setMutator(new CompositeSet.SetMutator() { + private static final long serialVersionUID = 1L; + public void resolveCollision(CompositeSet comp, Set existing, Set added, Collection intersects) { //noop