From 85db5610eadd98879acd49ad8c12fee21cfad037 Mon Sep 17 00:00:00 2001 From: Harihar Das Date: Thu, 12 Nov 2020 21:22:06 +0100 Subject: [PATCH] [KTLN-3] Fix package name (#10246) --- .../com/baeldung/{channles => channels}/BufferedChannel.kt | 2 +- .../com/baeldung/{channles => channels}/ConflatedChannel.kt | 2 +- .../com/baeldung/{channles => channels}/PizzaPipeline.kt | 4 ++-- .../com/baeldung/{channles => channels}/ProducerConsumer.kt | 2 +- .../com/baeldung/{channles => channels}/RendezvousChannel.kt | 2 +- .../{channles => channels}/SeveralProducersOneConsumer.kt | 2 +- .../{channles => channels}/SingleProducerSeveralConsumers.kt | 2 +- .../com/baeldung/{channles => channels}/TickerChannel.kt | 2 +- .../com/baeldung/{channles => channels}/UnlimitedChannel.kt | 2 +- .../main/kotlin/com/baeldung/{channles => channels}/logger.kt | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/BufferedChannel.kt (95%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/ConflatedChannel.kt (95%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/PizzaPipeline.kt (94%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/ProducerConsumer.kt (95%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/RendezvousChannel.kt (94%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/SeveralProducersOneConsumer.kt (96%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/SingleProducerSeveralConsumers.kt (95%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/TickerChannel.kt (94%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/UnlimitedChannel.kt (95%) rename core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/{channles => channels}/logger.kt (82%) diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/BufferedChannel.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/BufferedChannel.kt similarity index 95% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/BufferedChannel.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/BufferedChannel.kt index 6cfaf5b496..5fefc2f95e 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/BufferedChannel.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/BufferedChannel.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.cancelChildren import kotlinx.coroutines.channels.Channel diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/ConflatedChannel.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/ConflatedChannel.kt similarity index 95% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/ConflatedChannel.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/ConflatedChannel.kt index 63b0b967c1..6225eeb107 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/ConflatedChannel.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/ConflatedChannel.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.cancelChildren import kotlinx.coroutines.channels.Channel diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/PizzaPipeline.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/PizzaPipeline.kt similarity index 94% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/PizzaPipeline.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/PizzaPipeline.kt index ff4dcb2d32..abc8be4d18 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/PizzaPipeline.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/PizzaPipeline.kt @@ -1,6 +1,6 @@ -package com.baeldung.channles +package com.baeldung.channels -import com.baeldung.channles.OrderStatus.* +import com.baeldung.channels.OrderStatus.* import kotlinx.coroutines.* import kotlinx.coroutines.channels.ReceiveChannel import kotlinx.coroutines.channels.produce diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/ProducerConsumer.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/ProducerConsumer.kt similarity index 95% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/ProducerConsumer.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/ProducerConsumer.kt index 50687b909a..37f3c7d7bb 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/ProducerConsumer.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/ProducerConsumer.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.ExperimentalCoroutinesApi diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/RendezvousChannel.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/RendezvousChannel.kt similarity index 94% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/RendezvousChannel.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/RendezvousChannel.kt index e046e86e29..d4b554bced 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/RendezvousChannel.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/RendezvousChannel.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.* import kotlinx.coroutines.channels.Channel diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/SeveralProducersOneConsumer.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/SeveralProducersOneConsumer.kt similarity index 96% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/SeveralProducersOneConsumer.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/SeveralProducersOneConsumer.kt index fd2c046f97..5ed95debe8 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/SeveralProducersOneConsumer.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/SeveralProducersOneConsumer.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.cancelChildren import kotlinx.coroutines.channels.Channel diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/SingleProducerSeveralConsumers.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/SingleProducerSeveralConsumers.kt similarity index 95% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/SingleProducerSeveralConsumers.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/SingleProducerSeveralConsumers.kt index bff1609b35..f8f7b4b23b 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/SingleProducerSeveralConsumers.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/SingleProducerSeveralConsumers.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.* import kotlinx.coroutines.channels.ReceiveChannel diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/TickerChannel.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/TickerChannel.kt similarity index 94% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/TickerChannel.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/TickerChannel.kt index febcbd1534..85c0dc8d04 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/TickerChannel.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/TickerChannel.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.channels.ticker import kotlinx.coroutines.delay diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/UnlimitedChannel.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/UnlimitedChannel.kt similarity index 95% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/UnlimitedChannel.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/UnlimitedChannel.kt index 9b01bcee54..e4725ca903 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/UnlimitedChannel.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/UnlimitedChannel.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import kotlinx.coroutines.cancelChildren import kotlinx.coroutines.channels.Channel diff --git a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/logger.kt b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/logger.kt similarity index 82% rename from core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/logger.kt rename to core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/logger.kt index fdc4c295f8..036a6a4504 100644 --- a/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channles/logger.kt +++ b/core-kotlin-modules/core-kotlin-concurrency/src/main/kotlin/com/baeldung/channels/logger.kt @@ -1,4 +1,4 @@ -package com.baeldung.channles +package com.baeldung.channels import java.text.SimpleDateFormat import java.util.*