From c3044e122c49c738d867fe2074cecc9ba648beeb Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Sat, 21 Nov 2009 18:34:04 +0000 Subject: [PATCH] polish --- .../core/convert/support/DefaultConversionTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.core/src/test/java/org/springframework/core/convert/support/DefaultConversionTests.java b/org.springframework.core/src/test/java/org/springframework/core/convert/support/DefaultConversionTests.java index 861a4496e0f..bc48cb5d59f 100644 --- a/org.springframework.core/src/test/java/org/springframework/core/convert/support/DefaultConversionTests.java +++ b/org.springframework.core/src/test/java/org/springframework/core/convert/support/DefaultConversionTests.java @@ -735,8 +735,8 @@ public class DefaultConversionTests { // The converted list should contain all the elements in the original list Assert.assertEquals(frozenList, converted); - // TODO Looks like it was supposed to be a copy (but CollectionToCollectionConverter - // doesn't work that way right now). Commented out (DS). + // Would fail since CollectionToCollectionConverter does not create a copy if source list (including elements) are compatible with target list - + // TODO is this optimization a suitable default? // Assert.assertNotSame(frozenList, converted); }