diff options
author | Munir Ahmad <munir.ahmad@bell.ca> | 2018-03-07 18:55:19 -0500 |
---|---|---|
committer | Munir Ahmad <munir.ahmad@bell.ca> | 2018-03-07 18:56:00 -0500 |
commit | 253187391a2a65cded398272b2f14b86f3ba8c95 (patch) | |
tree | 7342bc439b768a8021eb5b55ddc26d787ea303a0 /mso-catalog-db/src/test/java | |
parent | bcfb7e24ab050bd530e9aa2c9557386a4b9f82f5 (diff) |
Swap Collection.sort with list.sort
Change-Id: Id56bcc3ad3696b5068b9465e9951f211ac467cb3
Issue-ID: SO-437
Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
Diffstat (limited to 'mso-catalog-db/src/test/java')
-rw-r--r-- | mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/MavenVersioningTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/MavenVersioningTest.java b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/MavenVersioningTest.java index 3dddb17d7c..c99a714b11 100644 --- a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/MavenVersioningTest.java +++ b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/MavenVersioningTest.java @@ -167,7 +167,7 @@ public class MavenVersioningTest { list.add(test11); list.add(test12); - Collections.sort(list,new MavenLikeVersioningComparator()); + list.sort(new MavenLikeVersioningComparator()); //Collections.reverse(list); assertTrue(list.get(0).getVersion().equals("0.02")); assertTrue(list.get(1).getVersion().equals("1.1")); |