Skip to content

Commit

Permalink
Merge pull request #40 from tomtom-international/dev/remove_cast_utils
Browse files Browse the repository at this point in the history
Removed cast utils
  • Loading branch information
TimonKanters-TomTom committed Feb 22, 2022
2 parents c73d9fe + 01065b0 commit 89c5c50
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 178 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -597,7 +597,6 @@ For example, it allows replacing the following snippet:
```kotlin
someComponent.getSomeNullableValue()
.let { it ?: someComponent.getFallbackValue() }
.let { it as? Boolean }
?.let {
if (it) doSomething()
else null
Expand All @@ -609,7 +608,6 @@ with:
```kotlin
someComponent.getSomeNullableValue()
.ifNull { someComponent.getFallbackValue() }
.safeCast<Boolean>()
.ifTrue { doSomething() }
```

Expand Down Expand Up @@ -661,6 +659,10 @@ Contributors: Timon Kanters, Jeroen Erik Jensen, Krzysztof Karczewski

## Release notes

### 1.6.2

* Removed cast extensions.

### 1.6.1

* Enables explicit API, requiring stricter type and visibility definitions of our public APIs.
Expand Down
2 changes: 1 addition & 1 deletion extensions/pom.xml
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>com.tomtom.kotlin</groupId>
<artifactId>kotlin-tools</artifactId>
<version>1.6.1</version>
<version>1.6.2</version>
</parent>

<artifactId>extensions</artifactId>
Expand Down

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion memoization/pom.xml
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>com.tomtom.kotlin</groupId>
<artifactId>kotlin-tools</artifactId>
<version>1.6.1</version>
<version>1.6.2</version>
</parent>

<artifactId>memoization</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -22,7 +22,7 @@

<groupId>com.tomtom.kotlin</groupId>
<artifactId>kotlin-tools</artifactId>
<version>1.6.1</version>
<version>1.6.2</version>
<packaging>pom</packaging>

<name>Kotlin Tools</name>
Expand Down
2 changes: 1 addition & 1 deletion traceevents/pom.xml
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>com.tomtom.kotlin</groupId>
<artifactId>kotlin-tools</artifactId>
<version>1.6.1</version>
<version>1.6.2</version>
</parent>

<artifactId>traceevents</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion uid/pom.xml
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>com.tomtom.kotlin</groupId>
<artifactId>kotlin-tools</artifactId>
<version>1.6.1</version>
<version>1.6.2</version>
</parent>

<artifactId>uid</artifactId>
Expand Down

0 comments on commit 89c5c50

Please sign in to comment.