Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.13"
".": "0.1.0-alpha.14"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.14 (2024-10-30)

Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)

### Chores

* rebuild project due to codegen change ([#40](https://github.com/OneBusAway/java-sdk/issues/40)) ([80f3744](https://github.com/OneBusAway/java-sdk/commit/80f3744e2859a56fd622f4ae2ea7c0117a65bad4))

## 0.1.0-alpha.13 (2024-10-28)

Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.13)
[![Maven Central](https://img.shields.io/maven-central/v/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.14)

<!-- x-release-please-end -->

Expand All @@ -27,7 +27,7 @@ The REST API documentation can be found on [developer.onebusaway.org](https://d
<!-- x-release-please-start-version -->

```kotlin
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.13")
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.14")
```

#### Maven
Expand All @@ -36,7 +36,7 @@ implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.13")
<dependency>
<groupId>org.onebusaway</groupId>
<artifactId>onebusaway-sdk-java</artifactId>
<version>0.1.0-alpha.13</version>
<version>0.1.0-alpha.14</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

allprojects {
group = "org.onebusaway"
version = "0.1.0-alpha.13" // x-release-please-version
version = "0.1.0-alpha.14" // x-release-please-version
}


Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,8 @@ import java.util.Collections
import org.onebusaway.errors.OnebusawaySdkInvalidDataException

@JvmSynthetic
internal fun <T : Any> T?.getOrThrow(name: String): T {
if (this == null) {
throw OnebusawaySdkInvalidDataException("'${name}' is not present")
}

return this
}
internal fun <T : Any> T?.getOrThrow(name: String): T =
this ?: throw OnebusawaySdkInvalidDataException("`${name}` is not present")

@JvmSynthetic
internal fun <T> List<T>.toUnmodifiable(): List<T> {
Expand Down
Loading