This is an automated email from the ASF dual-hosted git repository.

mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 1225828a9 Unwrap single string interpolation syntax
1225828a9 is described below

commit 1225828a913a61eb48123410077123c737c1b84e
Author: Matthew de Detrich <[email protected]>
AuthorDate: Sat May 27 12:15:40 2023 +0200

    Unwrap single string interpolation syntax
---
 .../pekko/stream/connectors/amqp/scaladsl/AmqpConnectorsSpec.scala    | 2 +-
 azure-storage-queue/src/test/scala/docs/scaladsl/AzureQueueSpec.scala | 2 +-
 project/CopyrightHeader.scala                                         | 4 ++--
 project/Dependencies.scala                                            | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/amqp/src/test/scala/org/apache/pekko/stream/connectors/amqp/scaladsl/AmqpConnectorsSpec.scala
 
b/amqp/src/test/scala/org/apache/pekko/stream/connectors/amqp/scaladsl/AmqpConnectorsSpec.scala
index ed454a3d9..0520679a5 100644
--- 
a/amqp/src/test/scala/org/apache/pekko/stream/connectors/amqp/scaladsl/AmqpConnectorsSpec.scala
+++ 
b/amqp/src/test/scala/org/apache/pekko/stream/connectors/amqp/scaladsl/AmqpConnectorsSpec.scala
@@ -347,7 +347,7 @@ class AmqpConnectorsSpec extends AmqpSpec {
     }
 
     "set routing key per message and consume them in the same JVM" in 
assertAllStagesStopped {
-      def getRoutingKey(s: String) = s"key.${s}"
+      def getRoutingKey(s: String) = s"key.$s"
 
       val exchangeName = "amqp.topic." + System.currentTimeMillis()
       val queueName = "amqp-conn-it-spec-simple-queue-" + 
System.currentTimeMillis()
diff --git 
a/azure-storage-queue/src/test/scala/docs/scaladsl/AzureQueueSpec.scala 
b/azure-storage-queue/src/test/scala/docs/scaladsl/AzureQueueSpec.scala
index d259c347d..0825e197a 100644
--- a/azure-storage-queue/src/test/scala/docs/scaladsl/AzureQueueSpec.scala
+++ b/azure-storage-queue/src/test/scala/docs/scaladsl/AzureQueueSpec.scala
@@ -66,7 +66,7 @@ class AzureQueueSpec extends TestKit(ActorSystem()) with 
AsyncFlatSpecLike with
 
   private var testMsgCount = 0
   def queueTestMsg: CloudQueueMessage = {
-    val message = new CloudQueueMessage(s"Test message no. ${testMsgCount}")
+    val message = new CloudQueueMessage(s"Test message no. $testMsgCount")
     testMsgCount += 1
     message
   }
diff --git a/project/CopyrightHeader.scala b/project/CopyrightHeader.scala
index d6f0e0e46..f37b6e6f0 100644
--- a/project/CopyrightHeader.scala
+++ b/project/CopyrightHeader.scala
@@ -68,7 +68,7 @@ trait CopyrightHeader extends AutoPlugin {
         case Some(currentText) if 
isOnlyLightbendCopyrightAnnotated(currentText) =>
           HeaderCommentStyle.cStyleBlockComment.commentCreator(text, 
existingText) + NewLine * 2 + currentText
         case Some(currentText) =>
-          throw new IllegalStateException(s"Unable to detect copyright for 
header: [${currentText}]")
+          throw new IllegalStateException(s"Unable to detect copyright for 
header: [$currentText]")
         case None =>
           HeaderCommentStyle.cStyleBlockComment.commentCreator(text, 
existingText)
       }
@@ -86,7 +86,7 @@ trait CopyrightHeader extends AutoPlugin {
         case Some(currentText) if 
isOnlyLightbendCopyrightAnnotated(currentText) =>
           HeaderCommentStyle.hashLineComment.commentCreator(apacheSpdxHeader, 
existingText) + NewLine * 2 + currentText
         case Some(currentText) =>
-          throw new IllegalStateException(s"Unable to detect copyright for 
header: [${currentText}]")
+          throw new IllegalStateException(s"Unable to detect copyright for 
header: [$currentText]")
         case None =>
           HeaderCommentStyle.hashLineComment.commentCreator(apacheSpdxHeader, 
existingText)
       }
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 82b80fba5..396c5fc7c 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -366,7 +366,7 @@ object Dependencies {
     ))
 
   val PravegaVersion = "0.10.2"
-  val PravegaVersionForDocs = s"v${PravegaVersion}"
+  val PravegaVersionForDocs = s"v$PravegaVersion"
 
   val Pravega = {
     Seq(


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to