DomainObjectCollectionExtensions.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert to multi-project build in preparation to adding new modules

See #304

    • -50
    • +0
    ./DomainObjectCollectionExtensions.kt
  1. … 263 more files in changeset.
Polish

- Normalise placement of `private`, `protected`, `internal` and

`inline` modifiers

  1. … 42 more files in changeset.
Polish top-level definitions, parameter lists and exceptions

* Separate top-level definitions by two lines

* Segregate visibility modifier of top-level definition to

its own line

* Prefer starting long parameter lists at the next line (more

sustainable in face of method renames)

* Remove unnecessary `Exception` suffix from class names

* Remove unnecessary prefixes from field names

* Use better name for exception variables

  1. … 38 more files in changeset.
Introduce `DomainObjectCollection.withType<S>()`

    • -2
    • +16
    ./DomainObjectCollectionExtensions.kt
Polish Kotlin sources

- Add Apache license header where missing

- Replace wildcard imports with individual imports

- Organize import statements

- Wrap code at 120 chars

- Wrap KDoc at 90 chars

- Eliminate newlines between KDoc tags

  1. … 20 more files in changeset.
Introduce `DomainObjectCollection.withType` extension

And use it in the samples to configure the `Wrapper` task.

    • -0
    • +31
    ./DomainObjectCollectionExtensions.kt
  1. … 3 more files in changeset.