You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/08/01 14:26:33 UTC

[GitHub] dubee closed pull request #3927: Replace Vector() occurrences with Vector.empty

dubee closed pull request #3927: Replace Vector() occurrences with Vector.empty
URL: https://github.com/apache/incubator-openwhisk/pull/3927
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/src/test/scala/whisk/core/controller/test/SequenceApiTests.scala b/tests/src/test/scala/whisk/core/controller/test/SequenceApiTests.scala
index 5bc1996300..0e42d45e6e 100644
--- a/tests/src/test/scala/whisk/core/controller/test/SequenceApiTests.scala
+++ b/tests/src/test/scala/whisk/core/controller/test/SequenceApiTests.scala
@@ -101,7 +101,7 @@ class SequenceApiTests extends ControllerTestCommon with WhiskActionsApi {
     implicit val tid = transid()
     val seqName = s"${aname()}_no_component"
     // create exec sequence with no component
-    val content = WhiskActionPut(Some(sequence(Vector())))
+    val content = WhiskActionPut(Some(sequence(Vector.empty)))
 
     // create an action sequence
     Put(s"$collectionPath/$seqName", content) ~> Route.seal(routes(creds)) ~> check {
@@ -117,7 +117,7 @@ class SequenceApiTests extends ControllerTestCommon with WhiskActionsApi {
     val components = Vector("a", "b")
     putSimpleSequenceInDB(seqName, namespace, components)
     // update sequence with no component
-    val updateContent = WhiskActionPut(Some(sequence(Vector())))
+    val updateContent = WhiskActionPut(Some(sequence(Vector.empty)))
 
     // create an action sequence
     Put(s"$collectionPath/$seqName?overwrite=true", updateContent) ~> Route.seal(routes(creds)) ~> check {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services