From d8f49a929a36edc5b4de165d5450922e49ccd452 Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Mon, 18 Mar 2024 14:23:11 +0100 Subject: [PATCH 1/9] Consistently using "Introduction" for theory parts --- .../Async vs Launch/{Overview => Introduction}/src/Main.kt | 0 .../Async vs Launch/{Overview => Introduction}/task-info.yaml | 0 Coroutines/Async vs Launch/{Overview => Introduction}/task.md | 0 Coroutines/Async vs Launch/lesson-info.yaml | 2 +- .../Exception-Handling/{Overview => Introduction}/src/Main.kt | 0 .../{Overview => Introduction}/task-info.yaml | 0 .../Exception-Handling/{Overview => Introduction}/task.md | 0 Coroutines/Exception-Handling/lesson-info.yaml | 2 +- Coroutines/Recap/{Overview => Introduction}/src/Main.kt | 0 Coroutines/Recap/{Overview => Introduction}/task-info.yaml | 0 Coroutines/Recap/{Overview => Introduction}/task.md | 0 Coroutines/Recap/lesson-info.yaml | 2 +- 12 files changed, 3 insertions(+), 3 deletions(-) rename Coroutines/Async vs Launch/{Overview => Introduction}/src/Main.kt (100%) rename Coroutines/Async vs Launch/{Overview => Introduction}/task-info.yaml (100%) rename Coroutines/Async vs Launch/{Overview => Introduction}/task.md (100%) rename Coroutines/Exception-Handling/{Overview => Introduction}/src/Main.kt (100%) rename Coroutines/Exception-Handling/{Overview => Introduction}/task-info.yaml (100%) rename Coroutines/Exception-Handling/{Overview => Introduction}/task.md (100%) rename Coroutines/Recap/{Overview => Introduction}/src/Main.kt (100%) rename Coroutines/Recap/{Overview => Introduction}/task-info.yaml (100%) rename Coroutines/Recap/{Overview => Introduction}/task.md (100%) diff --git a/Coroutines/Async vs Launch/Overview/src/Main.kt b/Coroutines/Async vs Launch/Introduction/src/Main.kt similarity index 100% rename from Coroutines/Async vs Launch/Overview/src/Main.kt rename to Coroutines/Async vs Launch/Introduction/src/Main.kt diff --git a/Coroutines/Async vs Launch/Overview/task-info.yaml b/Coroutines/Async vs Launch/Introduction/task-info.yaml similarity index 100% rename from Coroutines/Async vs Launch/Overview/task-info.yaml rename to Coroutines/Async vs Launch/Introduction/task-info.yaml diff --git a/Coroutines/Async vs Launch/Overview/task.md b/Coroutines/Async vs Launch/Introduction/task.md similarity index 100% rename from Coroutines/Async vs Launch/Overview/task.md rename to Coroutines/Async vs Launch/Introduction/task.md diff --git a/Coroutines/Async vs Launch/lesson-info.yaml b/Coroutines/Async vs Launch/lesson-info.yaml index c0a9569..6e4a5bc 100644 --- a/Coroutines/Async vs Launch/lesson-info.yaml +++ b/Coroutines/Async vs Launch/lesson-info.yaml @@ -1,4 +1,4 @@ content: - - Overview + - Introduction - Async - Launch diff --git a/Coroutines/Exception-Handling/Overview/src/Main.kt b/Coroutines/Exception-Handling/Introduction/src/Main.kt similarity index 100% rename from Coroutines/Exception-Handling/Overview/src/Main.kt rename to Coroutines/Exception-Handling/Introduction/src/Main.kt diff --git a/Coroutines/Exception-Handling/Overview/task-info.yaml b/Coroutines/Exception-Handling/Introduction/task-info.yaml similarity index 100% rename from Coroutines/Exception-Handling/Overview/task-info.yaml rename to Coroutines/Exception-Handling/Introduction/task-info.yaml diff --git a/Coroutines/Exception-Handling/Overview/task.md b/Coroutines/Exception-Handling/Introduction/task.md similarity index 100% rename from Coroutines/Exception-Handling/Overview/task.md rename to Coroutines/Exception-Handling/Introduction/task.md diff --git a/Coroutines/Exception-Handling/lesson-info.yaml b/Coroutines/Exception-Handling/lesson-info.yaml index b63f1c2..3db388f 100644 --- a/Coroutines/Exception-Handling/lesson-info.yaml +++ b/Coroutines/Exception-Handling/lesson-info.yaml @@ -1,3 +1,3 @@ content: - - Overview + - Introduction - CoroutineExceptionHandler diff --git a/Coroutines/Recap/Overview/src/Main.kt b/Coroutines/Recap/Introduction/src/Main.kt similarity index 100% rename from Coroutines/Recap/Overview/src/Main.kt rename to Coroutines/Recap/Introduction/src/Main.kt diff --git a/Coroutines/Recap/Overview/task-info.yaml b/Coroutines/Recap/Introduction/task-info.yaml similarity index 100% rename from Coroutines/Recap/Overview/task-info.yaml rename to Coroutines/Recap/Introduction/task-info.yaml diff --git a/Coroutines/Recap/Overview/task.md b/Coroutines/Recap/Introduction/task.md similarity index 100% rename from Coroutines/Recap/Overview/task.md rename to Coroutines/Recap/Introduction/task.md diff --git a/Coroutines/Recap/lesson-info.yaml b/Coroutines/Recap/lesson-info.yaml index 2fcc435..568af76 100644 --- a/Coroutines/Recap/lesson-info.yaml +++ b/Coroutines/Recap/lesson-info.yaml @@ -1,2 +1,2 @@ content: - - Overview + - Introduction From 5b7030d3cd45a3238d2da2ae68bed9be40c6d268 Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Mon, 18 Mar 2024 14:25:12 +0100 Subject: [PATCH 2/9] Content order adjusted --- course-info.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/course-info.yaml b/course-info.yaml index 36b7b34..79a0fcd 100644 --- a/course-info.yaml +++ b/course-info.yaml @@ -7,12 +7,12 @@ solutions_hidden: true content: - Types - Inline - - Generics + - Delegation - Coroutines - Flow - - Delegation + - Generics - Operators - - Serialization - DSL + - Serialization environment_settings: jvm_language_level: JDK_1_8 From a57c80c948e7dff32fb6eb9b4cc58161435234ea Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Mon, 18 Mar 2024 14:29:29 +0100 Subject: [PATCH 3/9] Making all test files visible --- Coroutines/Async vs Launch/Async/task-info.yaml | 2 +- Coroutines/Async vs Launch/Launch/task-info.yaml | 2 +- .../Cancelling coroutines/task-info.yaml | 2 +- Coroutines/Cancelation of Coroutines/Cooperative/task-info.yaml | 2 +- .../Composing suspend functions/Concurrent/task-info.yaml | 2 +- .../Combining context elements/task-info.yaml | 2 +- .../Exception-Handling/CoroutineExceptionHandler/task-info.yaml | 2 +- DSL/DSL toolbox/Create a DSL/task-info.yaml | 2 +- DSL/Infix functions/Define infix function/task-info.yaml | 2 +- .../Create read-only delegate/task-info.yaml | 2 +- .../Create read-write delegate/task-info.yaml | 2 +- .../Delegated properties/Use delegated property/task-info.yaml | 2 +- Delegation/Delegates/Create a delegate/task-info.yaml | 2 +- Delegation/Delegates/Overwrite a delegate/task-info.yaml | 2 +- .../Constraints/Specify multiple constraints/task-info.yaml | 2 +- Generics/Constraints/Specify single constraint/task-info.yaml | 2 +- .../Generic functions/Create generic function/task-info.yaml | 2 +- Generics/Reified keyword/Use reified types/task-info.yaml | 2 +- Generics/Star projection/Using star-projection/task-info.yaml | 2 +- Generics/Variance/Create contravariant generic/task-info.yaml | 2 +- Generics/Variance/Create covariant generic/task-info.yaml | 2 +- .../Define arithmetic operators/task-info.yaml | 2 +- .../Define collection operators/task-info.yaml | 2 +- Operators/Invoke operator/Define invoke operator/task-info.yaml | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Coroutines/Async vs Launch/Async/task-info.yaml b/Coroutines/Async vs Launch/Async/task-info.yaml index 98e4f63..63d582c 100644 --- a/Coroutines/Async vs Launch/Async/task-info.yaml +++ b/Coroutines/Async vs Launch/Async/task-info.yaml @@ -7,4 +7,4 @@ files: length: 37 placeholder_text: TODO() - name: test/Tests.kt - visible: false + visible: true diff --git a/Coroutines/Async vs Launch/Launch/task-info.yaml b/Coroutines/Async vs Launch/Launch/task-info.yaml index 2a82056..5673256 100644 --- a/Coroutines/Async vs Launch/Launch/task-info.yaml +++ b/Coroutines/Async vs Launch/Launch/task-info.yaml @@ -7,4 +7,4 @@ files: length: 63 placeholder_text: TODO() - name: test/output.txt - visible: false + visible: true diff --git a/Coroutines/Cancelation of Coroutines/Cancelling coroutines/task-info.yaml b/Coroutines/Cancelation of Coroutines/Cancelling coroutines/task-info.yaml index 144be16..2598a44 100644 --- a/Coroutines/Cancelation of Coroutines/Cancelling coroutines/task-info.yaml +++ b/Coroutines/Cancelation of Coroutines/Cancelling coroutines/task-info.yaml @@ -10,4 +10,4 @@ files: length: 47 placeholder_text: "" - name: test/output.txt - visible: false + visible: true diff --git a/Coroutines/Cancelation of Coroutines/Cooperative/task-info.yaml b/Coroutines/Cancelation of Coroutines/Cooperative/task-info.yaml index 47830c9..7094a2a 100644 --- a/Coroutines/Cancelation of Coroutines/Cooperative/task-info.yaml +++ b/Coroutines/Cancelation of Coroutines/Cooperative/task-info.yaml @@ -7,4 +7,4 @@ files: length: 18 placeholder_text: i < 10 - name: test/output.txt - visible: false + visible: true diff --git a/Coroutines/Composing suspend functions/Concurrent/task-info.yaml b/Coroutines/Composing suspend functions/Concurrent/task-info.yaml index 75e417b..7b4e351 100644 --- a/Coroutines/Composing suspend functions/Concurrent/task-info.yaml +++ b/Coroutines/Composing suspend functions/Concurrent/task-info.yaml @@ -16,4 +16,4 @@ files: length: 8 placeholder_text: "" - name: test/Tests.kt - visible: false + visible: true diff --git a/Coroutines/CoroutineContext and Dispatchers/Combining context elements/task-info.yaml b/Coroutines/CoroutineContext and Dispatchers/Combining context elements/task-info.yaml index 67d426a..3fd8e5c 100644 --- a/Coroutines/CoroutineContext and Dispatchers/Combining context elements/task-info.yaml +++ b/Coroutines/CoroutineContext and Dispatchers/Combining context elements/task-info.yaml @@ -10,4 +10,4 @@ files: length: 25 placeholder_text: "" - name: test/output.txt - visible: false + visible: true diff --git a/Coroutines/Exception-Handling/CoroutineExceptionHandler/task-info.yaml b/Coroutines/Exception-Handling/CoroutineExceptionHandler/task-info.yaml index 11788c8..a91d566 100644 --- a/Coroutines/Exception-Handling/CoroutineExceptionHandler/task-info.yaml +++ b/Coroutines/Exception-Handling/CoroutineExceptionHandler/task-info.yaml @@ -7,4 +7,4 @@ files: length: 98 placeholder_text: TODO() - name: test/output.txt - visible: false + visible: true diff --git a/DSL/DSL toolbox/Create a DSL/task-info.yaml b/DSL/DSL toolbox/Create a DSL/task-info.yaml index 108162e..a336873 100644 --- a/DSL/DSL toolbox/Create a DSL/task-info.yaml +++ b/DSL/DSL toolbox/Create a DSL/task-info.yaml @@ -7,4 +7,4 @@ files: length: 917 placeholder_text: // Implement your DSL here - name: test/output.txt - visible: false + visible: true diff --git a/DSL/Infix functions/Define infix function/task-info.yaml b/DSL/Infix functions/Define infix function/task-info.yaml index e5914be..91c86eb 100644 --- a/DSL/Infix functions/Define infix function/task-info.yaml +++ b/DSL/Infix functions/Define infix function/task-info.yaml @@ -7,4 +7,4 @@ files: length: 83 placeholder_text: // Define the infix function "pow" here - name: test/Tests.kt - visible: false + visible: true diff --git a/Delegation/Delegated properties/Create read-only delegate/task-info.yaml b/Delegation/Delegated properties/Create read-only delegate/task-info.yaml index 1edf8ea..160889f 100644 --- a/Delegation/Delegated properties/Create read-only delegate/task-info.yaml +++ b/Delegation/Delegated properties/Create read-only delegate/task-info.yaml @@ -7,4 +7,4 @@ files: length: 331 placeholder_text: class LazyPokemonProperty - name: test/output.txt - visible: false + visible: true diff --git a/Delegation/Delegated properties/Create read-write delegate/task-info.yaml b/Delegation/Delegated properties/Create read-write delegate/task-info.yaml index 3223fbd..8fda16f 100644 --- a/Delegation/Delegated properties/Create read-write delegate/task-info.yaml +++ b/Delegation/Delegated properties/Create read-write delegate/task-info.yaml @@ -7,4 +7,4 @@ files: length: 476 placeholder_text: class AuditedProperty - name: test/output.txt - visible: false + visible: true diff --git a/Delegation/Delegated properties/Use delegated property/task-info.yaml b/Delegation/Delegated properties/Use delegated property/task-info.yaml index 89978f4..143cece 100644 --- a/Delegation/Delegated properties/Use delegated property/task-info.yaml +++ b/Delegation/Delegated properties/Use delegated property/task-info.yaml @@ -7,4 +7,4 @@ files: length: 171 placeholder_text: " var name: String" - name: test/output.txt - visible: false + visible: true diff --git a/Delegation/Delegates/Create a delegate/task-info.yaml b/Delegation/Delegates/Create a delegate/task-info.yaml index baf0e7b..a590d2a 100644 --- a/Delegation/Delegates/Create a delegate/task-info.yaml +++ b/Delegation/Delegates/Create a delegate/task-info.yaml @@ -13,4 +13,4 @@ files: length: 39 placeholder_text: TODO() - name: test/output.txt - visible: false + visible: true diff --git a/Delegation/Delegates/Overwrite a delegate/task-info.yaml b/Delegation/Delegates/Overwrite a delegate/task-info.yaml index 86dedaa..26f80a1 100644 --- a/Delegation/Delegates/Overwrite a delegate/task-info.yaml +++ b/Delegation/Delegates/Overwrite a delegate/task-info.yaml @@ -7,4 +7,4 @@ files: length: 152 placeholder_text: class PeacefulPokemon - name: test/output.txt - visible: false + visible: true diff --git a/Generics/Constraints/Specify multiple constraints/task-info.yaml b/Generics/Constraints/Specify multiple constraints/task-info.yaml index 1ea4663..1d8837c 100644 --- a/Generics/Constraints/Specify multiple constraints/task-info.yaml +++ b/Generics/Constraints/Specify multiple constraints/task-info.yaml @@ -7,4 +7,4 @@ files: length: 374 placeholder_text: class Omniball - name: test/output.txt - visible: false + visible: true diff --git a/Generics/Constraints/Specify single constraint/task-info.yaml b/Generics/Constraints/Specify single constraint/task-info.yaml index 3757720..e6d4a0b 100644 --- a/Generics/Constraints/Specify single constraint/task-info.yaml +++ b/Generics/Constraints/Specify single constraint/task-info.yaml @@ -7,4 +7,4 @@ files: length: 344 placeholder_text: class Pokeball - name: test/output.txt - visible: false + visible: true diff --git a/Generics/Generic functions/Create generic function/task-info.yaml b/Generics/Generic functions/Create generic function/task-info.yaml index e031ebe..3ba5e16 100644 --- a/Generics/Generic functions/Create generic function/task-info.yaml +++ b/Generics/Generic functions/Create generic function/task-info.yaml @@ -7,4 +7,4 @@ files: length: 99 placeholder_text: "fun getHealthiestPokemon() {}" - name: test/Tests.kt - visible: false + visible: true diff --git a/Generics/Reified keyword/Use reified types/task-info.yaml b/Generics/Reified keyword/Use reified types/task-info.yaml index 97fe7f2..5917221 100644 --- a/Generics/Reified keyword/Use reified types/task-info.yaml +++ b/Generics/Reified keyword/Use reified types/task-info.yaml @@ -7,4 +7,4 @@ files: length: 137 placeholder_text: "fun filterByType(pokemons: List)" - name: test/Tests.kt - visible: false + visible: true diff --git a/Generics/Star projection/Using star-projection/task-info.yaml b/Generics/Star projection/Using star-projection/task-info.yaml index faa41ab..8ce1fae 100644 --- a/Generics/Star projection/Using star-projection/task-info.yaml +++ b/Generics/Star projection/Using star-projection/task-info.yaml @@ -7,4 +7,4 @@ files: length: 110 placeholder_text: "fun isInfoComplete(/* TODO */): Boolean" - name: test/Tests.kt - visible: false + visible: true diff --git a/Generics/Variance/Create contravariant generic/task-info.yaml b/Generics/Variance/Create contravariant generic/task-info.yaml index 9fc2de9..14424c6 100644 --- a/Generics/Variance/Create contravariant generic/task-info.yaml +++ b/Generics/Variance/Create contravariant generic/task-info.yaml @@ -7,4 +7,4 @@ files: length: 103 placeholder_text: class Pokeball - name: test/output.txt - visible: false + visible: true diff --git a/Generics/Variance/Create covariant generic/task-info.yaml b/Generics/Variance/Create covariant generic/task-info.yaml index 763b051..76844c3 100644 --- a/Generics/Variance/Create covariant generic/task-info.yaml +++ b/Generics/Variance/Create covariant generic/task-info.yaml @@ -7,4 +7,4 @@ files: length: 89 placeholder_text: class Pokeball - name: test/output.txt - visible: false + visible: true diff --git a/Operators/Arithmetic operators/Define arithmetic operators/task-info.yaml b/Operators/Arithmetic operators/Define arithmetic operators/task-info.yaml index 017cdc2..9162f0f 100644 --- a/Operators/Arithmetic operators/Define arithmetic operators/task-info.yaml +++ b/Operators/Arithmetic operators/Define arithmetic operators/task-info.yaml @@ -7,4 +7,4 @@ files: length: 269 placeholder_text: // Define operators here - name: test/Tests.kt - visible: false + visible: true diff --git a/Operators/Collection operators/Define collection operators/task-info.yaml b/Operators/Collection operators/Define collection operators/task-info.yaml index eb299e2..22586e1 100644 --- a/Operators/Collection operators/Define collection operators/task-info.yaml +++ b/Operators/Collection operators/Define collection operators/task-info.yaml @@ -7,4 +7,4 @@ files: length: 210 placeholder_text: // Define collection operators here - name: test/Tests.kt - visible: false + visible: true diff --git a/Operators/Invoke operator/Define invoke operator/task-info.yaml b/Operators/Invoke operator/Define invoke operator/task-info.yaml index 23c9f4f..7aabd3b 100644 --- a/Operators/Invoke operator/Define invoke operator/task-info.yaml +++ b/Operators/Invoke operator/Define invoke operator/task-info.yaml @@ -7,4 +7,4 @@ files: length: 192 placeholder_text: // Implement the invoke operator here - name: test/output.txt - visible: false + visible: true From 513db7d6fea4a4a8dae19096b82c917343e4e331 Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Mon, 18 Mar 2024 14:29:46 +0100 Subject: [PATCH 4/9] Unneeded in Delegation section files removed --- Delegation/Examples/task-info.yaml | 1 - Delegation/task1/task-info.yaml | 1 - 2 files changed, 2 deletions(-) delete mode 100644 Delegation/Examples/task-info.yaml delete mode 100644 Delegation/task1/task-info.yaml diff --git a/Delegation/Examples/task-info.yaml b/Delegation/Examples/task-info.yaml deleted file mode 100644 index 2ea9471..0000000 --- a/Delegation/Examples/task-info.yaml +++ /dev/null @@ -1 +0,0 @@ -type: theory diff --git a/Delegation/task1/task-info.yaml b/Delegation/task1/task-info.yaml deleted file mode 100644 index d05038c..0000000 --- a/Delegation/task1/task-info.yaml +++ /dev/null @@ -1 +0,0 @@ -type: edu From f811ceb90626080a2c65f3973a42849f47184e80 Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Mon, 18 Mar 2024 15:14:47 +0100 Subject: [PATCH 5/9] Main function in Types/Introduction cleared --- Types/Kotlin type hierarchy/Introduction/src/Main.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Types/Kotlin type hierarchy/Introduction/src/Main.kt b/Types/Kotlin type hierarchy/Introduction/src/Main.kt index 65899d3..f1eafa9 100644 --- a/Types/Kotlin type hierarchy/Introduction/src/Main.kt +++ b/Types/Kotlin type hierarchy/Introduction/src/Main.kt @@ -1,7 +1,3 @@ fun main() { -} - -fun test(a: Nothing) { - } \ No newline at end of file From fa8229fb43114190a2406904f9575c542af39649 Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Mon, 18 Mar 2024 15:36:25 +0100 Subject: [PATCH 6/9] Typos fixed --- .../Inline classes vs Type Aliases/task.md | 2 +- Inline/Inline Classes/Introduction/task.md | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Inline/Inline Classes/Inline classes vs Type Aliases/task.md b/Inline/Inline Classes/Inline classes vs Type Aliases/task.md index 9fd53ce..37486c6 100644 --- a/Inline/Inline Classes/Inline classes vs Type Aliases/task.md +++ b/Inline/Inline Classes/Inline classes vs Type Aliases/task.md @@ -1,6 +1,6 @@ # Inline Classes vs Type Aliases -Both, tools introduce a new type and represent the underlying type. +Both tools introduce a new type and represent the underlying type. Hence, both may be treated as a wrapper. ## Recap Type Alias diff --git a/Inline/Inline Classes/Introduction/task.md b/Inline/Inline Classes/Introduction/task.md index 057d575..7dc39ce 100644 --- a/Inline/Inline Classes/Introduction/task.md +++ b/Inline/Inline Classes/Introduction/task.md @@ -6,17 +6,22 @@ They are a subset of value-based classes like the primitives Int, Long, etc. Inline classes behave differently compared to regular classes. They are represented both as the underlying values type and as a wrapper. Hence, they do not have a stable identity. -Therefor, reference equality ( === ) is not provided. +Therefore, reference equality ( === ) is not provided. -## Exmaple: Int +## Example: Int -The kotlin Int class may be represented as the primitive **int** in the JVM platform or as the boxed Integer class. +The Kotlin Int class may be represented as the primitive **int** in the JVM platform or as the boxed Integer class. Inline classes are a tool to allow developers to define value-based classes to provide this behavior. ## Declaration -To declare an inline class the *value* keyword is used. In addition, the **JvmInline** annotation must be annotated. +To declare an inline class the *value* keyword is used. In addition, the `@JvmInline` annotation must be added: + +```kotlin +@JvmInline +value class PositiveId(private val value: Long) +``` The inline classes force to initialize a single property in the primary constructor. Not more, not less. From cf4707a169b7e28f6039d945a682ee3b966c6b0e Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Mon, 18 Mar 2024 15:43:02 +0100 Subject: [PATCH 7/9] type: framework attribute removed from kotlinx.serialization as it makes content inaccessible in the preview --- Serialization/kotlinx.serialization/lesson-info.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Serialization/kotlinx.serialization/lesson-info.yaml b/Serialization/kotlinx.serialization/lesson-info.yaml index ddbf507..f80cd8c 100644 --- a/Serialization/kotlinx.serialization/lesson-info.yaml +++ b/Serialization/kotlinx.serialization/lesson-info.yaml @@ -1,4 +1,3 @@ -type: framework content: - Introduction - Basics From d69f0a3a248558b05b684837af1aaebfed554d13 Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Tue, 19 Mar 2024 13:15:17 +0100 Subject: [PATCH 8/9] Inline classes/Examples renamed to Inline classes/Tasks --- Coroutines/Async vs Launch/AsyncTask1/task-info.yaml | 1 - Inline/Inline Classes/{Examples => Tasks}/src/Api.kt | 0 Inline/Inline Classes/{Examples => Tasks}/src/Model.kt | 0 Inline/Inline Classes/{Examples => Tasks}/src/Task.kt | 0 Inline/Inline Classes/{Examples => Tasks}/src/Vault.kt | 0 Inline/Inline Classes/{Examples => Tasks}/task-info.yaml | 0 Inline/Inline Classes/{Examples => Tasks}/task.md | 0 Inline/Inline Classes/{Examples => Tasks}/test/Tests.kt | 0 Inline/Inline Classes/lesson-info.yaml | 2 +- 9 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 Coroutines/Async vs Launch/AsyncTask1/task-info.yaml rename Inline/Inline Classes/{Examples => Tasks}/src/Api.kt (100%) rename Inline/Inline Classes/{Examples => Tasks}/src/Model.kt (100%) rename Inline/Inline Classes/{Examples => Tasks}/src/Task.kt (100%) rename Inline/Inline Classes/{Examples => Tasks}/src/Vault.kt (100%) rename Inline/Inline Classes/{Examples => Tasks}/task-info.yaml (100%) rename Inline/Inline Classes/{Examples => Tasks}/task.md (100%) rename Inline/Inline Classes/{Examples => Tasks}/test/Tests.kt (100%) diff --git a/Coroutines/Async vs Launch/AsyncTask1/task-info.yaml b/Coroutines/Async vs Launch/AsyncTask1/task-info.yaml deleted file mode 100644 index d05038c..0000000 --- a/Coroutines/Async vs Launch/AsyncTask1/task-info.yaml +++ /dev/null @@ -1 +0,0 @@ -type: edu diff --git a/Inline/Inline Classes/Examples/src/Api.kt b/Inline/Inline Classes/Tasks/src/Api.kt similarity index 100% rename from Inline/Inline Classes/Examples/src/Api.kt rename to Inline/Inline Classes/Tasks/src/Api.kt diff --git a/Inline/Inline Classes/Examples/src/Model.kt b/Inline/Inline Classes/Tasks/src/Model.kt similarity index 100% rename from Inline/Inline Classes/Examples/src/Model.kt rename to Inline/Inline Classes/Tasks/src/Model.kt diff --git a/Inline/Inline Classes/Examples/src/Task.kt b/Inline/Inline Classes/Tasks/src/Task.kt similarity index 100% rename from Inline/Inline Classes/Examples/src/Task.kt rename to Inline/Inline Classes/Tasks/src/Task.kt diff --git a/Inline/Inline Classes/Examples/src/Vault.kt b/Inline/Inline Classes/Tasks/src/Vault.kt similarity index 100% rename from Inline/Inline Classes/Examples/src/Vault.kt rename to Inline/Inline Classes/Tasks/src/Vault.kt diff --git a/Inline/Inline Classes/Examples/task-info.yaml b/Inline/Inline Classes/Tasks/task-info.yaml similarity index 100% rename from Inline/Inline Classes/Examples/task-info.yaml rename to Inline/Inline Classes/Tasks/task-info.yaml diff --git a/Inline/Inline Classes/Examples/task.md b/Inline/Inline Classes/Tasks/task.md similarity index 100% rename from Inline/Inline Classes/Examples/task.md rename to Inline/Inline Classes/Tasks/task.md diff --git a/Inline/Inline Classes/Examples/test/Tests.kt b/Inline/Inline Classes/Tasks/test/Tests.kt similarity index 100% rename from Inline/Inline Classes/Examples/test/Tests.kt rename to Inline/Inline Classes/Tasks/test/Tests.kt diff --git a/Inline/Inline Classes/lesson-info.yaml b/Inline/Inline Classes/lesson-info.yaml index acc0f39..ba46993 100644 --- a/Inline/Inline Classes/lesson-info.yaml +++ b/Inline/Inline Classes/lesson-info.yaml @@ -1,4 +1,4 @@ content: - Introduction - Inline classes vs Type Aliases - - Examples + - Tasks From 3f9622c20c0e2e1fd23b6dc83c5487e952e0b456 Mon Sep 17 00:00:00 2001 From: Artur Markiewicz Date: Tue, 19 Mar 2024 14:30:00 +0100 Subject: [PATCH 9/9] Content order adjusted --- course-info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course-info.yaml b/course-info.yaml index 79a0fcd..bddc7f9 100644 --- a/course-info.yaml +++ b/course-info.yaml @@ -8,10 +8,10 @@ content: - Types - Inline - Delegation + - Operators - Coroutines - Flow - Generics - - Operators - DSL - Serialization environment_settings: