Skip to content

Adopt changes to Spring Data JPA #1138

@zambrovski

Description

@zambrovski

During the build some warnings appear in production code:

[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:54:10 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:65:10 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:76:10 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:363:10 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:364:10 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:365:13 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:375:10 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:376:10 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/SpecificationExt.kt:377:13 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/data/ProtocolElement.kt:46:9 Identity-sensitive operation on an instance of value type 'Instant' may cause unexpected behavior or errors.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/main/kotlin/io/holunda/polyflow/view/jpa/data/ProtocolElement.kt:46:17 Identity-sensitive operation on an instance of value type 'Instant' may cause unexpected behavior or errors.

and in tests:

[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/test/kotlin/io/holunda/polyflow/view/jpa/data/DataEntryRepositoryITest.kt:223:57 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/test/kotlin/io/holunda/polyflow/view/jpa/data/DataEntryRepositoryITest.kt:226:55 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/test/kotlin/io/holunda/polyflow/view/jpa/data/DataEntryRepositoryITest.kt:233:66 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/test/kotlin/io/holunda/polyflow/view/jpa/data/DataEntryRepositoryITest.kt:236:65 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/test/kotlin/io/holunda/polyflow/view/jpa/data/DataEntryRepositoryITest.kt:244:76 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.
[WARNING] file:///Users/simon/projects/camunda-bpm-taskpool/view/jpa/src/test/kotlin/io/holunda/polyflow/view/jpa/data/DataEntryRepositoryITest.kt:249:9 'static fun <T : Any!> where(spec: Specification<T!>?): Specification<T!>' is deprecated. Deprecated in Java.

Fix them.

Metadata

Metadata

Assignees

Labels

Prio: MustThis feature must be implemented in current milestone.Type: bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions