Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/kiota-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.0
Choose a base ref
...
head repository: microsoft/kiota-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Choose a head ref

Commits on Aug 3, 2023

  1. Bump com.github.spotbugs in /components/serialization/json

    Bumps com.github.spotbugs from 5.1.0 to 5.1.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a08dea2 View commit details
  2. Bump com.github.spotbugs in /components/serialization/form

    Bumps com.github.spotbugs from 5.1.0 to 5.1.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cf9659f View commit details
  3. Bump com.github.spotbugs in /components/serialization/multipart

    Bumps com.github.spotbugs from 5.1.0 to 5.1.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3c3e598 View commit details
  4. Bump com.github.spotbugs in /components/authentication/azure

    Bumps com.github.spotbugs from 5.1.0 to 5.1.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1e96da1 View commit details
  5. Merge pull request #549 from microsoft/dependabot/gradle/components/a…

    …uthentication/azure/com.github.spotbugs-5.1.1
    
    Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/authentication/azure
    github-actions[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6ce7b11 View commit details
  6. Merge pull request #548 from microsoft/dependabot/gradle/components/s…

    …erialization/multipart/com.github.spotbugs-5.1.1
    
    Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/serialization/multipart
    github-actions[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    71111ef View commit details
  7. Merge pull request #547 from microsoft/dependabot/gradle/components/s…

    …erialization/form/com.github.spotbugs-5.1.1
    
    Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/serialization/form
    github-actions[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ce196ed View commit details
  8. Merge pull request #546 from microsoft/dependabot/gradle/components/s…

    …erialization/json/com.github.spotbugs-5.1.1
    
    Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/serialization/json
    github-actions[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    597dfac View commit details
  9. Bump com.github.spotbugs in /components/serialization/text

    Bumps com.github.spotbugs from 5.1.0 to 5.1.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b2067ce View commit details
  10. Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/abstractions

    Bumps com.github.spotbugs from 5.1.0 to 5.1.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d116f7a View commit details
  11. Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/http/okHttp

    Bumps com.github.spotbugs from 5.1.0 to 5.1.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f7f46af View commit details
  12. Merge pull request #544 from microsoft/dependabot/gradle/components/s…

    …erialization/text/com.github.spotbugs-5.1.1
    
    Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/serialization/text
    github-actions[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    77fe29a View commit details
  13. Merge pull request #550 from microsoft/dependabot/gradle/components/h…

    …ttp/okHttp/com.github.spotbugs-5.1.1
    
    Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/http/okHttp
    github-actions[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    13c39fd View commit details
  14. Merge pull request #545 from microsoft/dependabot/gradle/components/a…

    …bstractions/com.github.spotbugs-5.1.1
    
    Bump com.github.spotbugs from 5.1.0 to 5.1.1 in /components/abstractions
    github-actions[bot] authored Aug 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    51d81e3 View commit details

Commits on Aug 7, 2023

  1. Bump com.azure:azure-core in /components/authentication/azure

    Bumps [com.azure:azure-core](https://github.com/Azure/azure-sdk-for-java) from 1.41.0 to 1.42.0.
    - [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
    - [Commits](Azure/azure-sdk-for-java@azure-core_1.41.0...azure-core_1.42.0)
    
    ---
    updated-dependencies:
    - dependency-name: com.azure:azure-core
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 7, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    02bfc3b View commit details
  2. Bump com.azure:azure-core in /components/authentication/azure/android

    Bumps [com.azure:azure-core](https://github.com/Azure/azure-sdk-for-java) from 1.41.0 to 1.42.0.
    - [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
    - [Commits](Azure/azure-sdk-for-java@azure-core_1.41.0...azure-core_1.42.0)
    
    ---
    updated-dependencies:
    - dependency-name: com.azure:azure-core
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 7, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1f4831e View commit details

Commits on Aug 8, 2023

  1. Merge pull request #552 from microsoft/dependabot/gradle/components/a…

    …uthentication/azure/android/com.azure-azure-core-1.42.0
    
    Bump com.azure:azure-core from 1.41.0 to 1.42.0 in /components/authentication/azure/android
    github-actions[bot] authored Aug 8, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    228392d View commit details
  2. Merge pull request #551 from microsoft/dependabot/gradle/components/a…

    …uthentication/azure/com.azure-azure-core-1.42.0
    
    Bump com.azure:azure-core from 1.41.0 to 1.42.0 in /components/authentication/azure
    github-actions[bot] authored Aug 8, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    febdddb View commit details
  3. Copy the full SHA
    0217f96 View commit details
  4. Copy the full SHA
    2d49613 View commit details
  5. version bump

    ramsessanchez committed Aug 8, 2023
    Copy the full SHA
    6c8fe19 View commit details

Commits on Aug 9, 2023

  1. - updates annotations for test mocks

    Signed-off-by: Vincent Biret <vibiret@microsoft.com>
    baywet committed Aug 9, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    baywet Vincent Biret
    Copy the full SHA
    dd9d15b View commit details
  2. Copy the full SHA
    5f7a94a View commit details
  3. Copy the full SHA
    2c53320 View commit details
  4. Jakarta annotations is api dependency in abstractions

    remove immutable annotation
    ramsessanchez committed Aug 9, 2023
    Copy the full SHA
    da2f063 View commit details
  5. Fix mock cases

    ramsessanchez committed Aug 9, 2023
    Copy the full SHA
    6ec5765 View commit details
  6. Bump com.github.spotbugs in /components/serialization/json

    Bumps com.github.spotbugs from 5.1.1 to 5.1.2.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c317873 View commit details
  7. Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/abstractions

    Bumps com.github.spotbugs from 5.1.1 to 5.1.2.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    62ef6ae View commit details
  8. Bump com.github.spotbugs in /components/serialization/text

    Bumps com.github.spotbugs from 5.1.1 to 5.1.2.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    77ea8bf View commit details
  9. Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/http/okHttp

    Bumps com.github.spotbugs from 5.1.1 to 5.1.2.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    54016a5 View commit details
  10. Bump com.github.spotbugs in /components/authentication/azure

    Bumps com.github.spotbugs from 5.1.1 to 5.1.2.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fd3f4a2 View commit details
  11. Bump com.github.spotbugs in /components/serialization/multipart

    Bumps com.github.spotbugs from 5.1.1 to 5.1.2.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    084f807 View commit details
  12. Merge pull request #560 from microsoft/dependabot/gradle/components/s…

    …erialization/multipart/com.github.spotbugs-5.1.2
    
    Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/serialization/multipart
    github-actions[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d1a1e3a View commit details
  13. Merge pull request #559 from microsoft/dependabot/gradle/components/a…

    …uthentication/azure/com.github.spotbugs-5.1.2
    
    Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/authentication/azure
    github-actions[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    65f3277 View commit details
  14. Merge pull request #558 from microsoft/dependabot/gradle/components/h…

    …ttp/okHttp/com.github.spotbugs-5.1.2
    
    Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/http/okHttp
    github-actions[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    47fdf6f View commit details
  15. Merge pull request #557 from microsoft/dependabot/gradle/components/s…

    …erialization/text/com.github.spotbugs-5.1.2
    
    Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/serialization/text
    github-actions[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1d36d65 View commit details
  16. Merge pull request #556 from microsoft/dependabot/gradle/components/a…

    …bstractions/com.github.spotbugs-5.1.2
    
    Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/abstractions
    github-actions[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    70fd206 View commit details
  17. Merge pull request #555 from microsoft/dependabot/gradle/components/s…

    …erialization/json/com.github.spotbugs-5.1.2
    
    Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/serialization/json
    github-actions[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9834111 View commit details
  18. Bump com.github.spotbugs in /components/serialization/form

    Bumps com.github.spotbugs from 5.1.1 to 5.1.2.
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fd34139 View commit details
  19. Merge pull request #554 from microsoft/dependabot/gradle/components/s…

    …erialization/form/com.github.spotbugs-5.1.2
    
    Bump com.github.spotbugs from 5.1.1 to 5.1.2 in /components/serialization/form
    github-actions[bot] authored Aug 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    02a8280 View commit details

Commits on Aug 11, 2023

  1. Bump io.opentelemetry:opentelemetry-api

    Bumps [io.opentelemetry:opentelemetry-api](https://github.com/open-telemetry/opentelemetry-java) from 1.28.0 to 1.29.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.28.0...v1.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-api
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 11, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e23d427 View commit details
  2. Bump io.opentelemetry:opentelemetry-context in /components/http/okHttp

    Bumps [io.opentelemetry:opentelemetry-context](https://github.com/open-telemetry/opentelemetry-java) from 1.28.0 to 1.29.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.28.0...v1.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-context
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 11, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    57d4eef View commit details
  3. Bump io.opentelemetry:opentelemetry-context

    Bumps [io.opentelemetry:opentelemetry-context](https://github.com/open-telemetry/opentelemetry-java) from 1.28.0 to 1.29.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.28.0...v1.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-context
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 11, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d15d282 View commit details
  4. Bump io.opentelemetry:opentelemetry-context

    Bumps [io.opentelemetry:opentelemetry-context](https://github.com/open-telemetry/opentelemetry-java) from 1.28.0 to 1.29.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.28.0...v1.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-context
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 11, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    acabb70 View commit details
  5. Bump io.opentelemetry:opentelemetry-context in /components/abstractions

    Bumps [io.opentelemetry:opentelemetry-context](https://github.com/open-telemetry/opentelemetry-java) from 1.28.0 to 1.29.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.28.0...v1.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-context
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 11, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b8df996 View commit details
  6. Bump io.opentelemetry:opentelemetry-api

    Bumps [io.opentelemetry:opentelemetry-api](https://github.com/open-telemetry/opentelemetry-java) from 1.28.0 to 1.29.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.28.0...v1.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-api
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 11, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3753463 View commit details

Commits on Aug 12, 2023

  1. Merge pull request #574 from microsoft/dependabot/gradle/components/a…

    …uthentication/azure/android/io.opentelemetry-opentelemetry-api-1.29.0
    
    Bump io.opentelemetry:opentelemetry-api from 1.28.0 to 1.29.0 in /components/authentication/azure/android
    github-actions[bot] authored Aug 12, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7b3cf7d View commit details
  2. Merge pull request #564 from microsoft/dependabot/gradle/components/a…

    …uthentication/azure/io.opentelemetry-opentelemetry-api-1.29.0
    
    Bump io.opentelemetry:opentelemetry-api from 1.28.0 to 1.29.0 in /components/authentication/azure
    github-actions[bot] authored Aug 12, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c3471aa View commit details

Commits on Aug 13, 2023

  1. Bump io.opentelemetry:opentelemetry-context

    Bumps [io.opentelemetry:opentelemetry-context](https://github.com/open-telemetry/opentelemetry-java) from 1.28.0 to 1.29.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.28.0...v1.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-context
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 13, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    aa5abae View commit details
  2. Merge pull request #573 from microsoft/dependabot/gradle/components/a…

    …uthentication/azure/android/io.opentelemetry-opentelemetry-context-1.29.0
    
    Bump io.opentelemetry:opentelemetry-context from 1.28.0 to 1.29.0 in /components/authentication/azure/android
    github-actions[bot] authored Aug 13, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    87a4e9b View commit details
Showing with 186 additions and 167 deletions.
  1. +6 −0 CHANGELOG.md
  2. +1 −2 components/abstractions/build.gradle
  3. +3 −3 components/abstractions/gradle/dependencies.gradle
  4. +8 −0 components/abstractions/spotBugsExcludeFilter.xml
  5. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/ApiClientBuilder.java
  6. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/ApiException.java
  7. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/BaseRequestBuilder.java
  8. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/BaseRequestConfiguration.java
  9. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/CaseInsensitiveMap.java
  10. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/Headers.java
  11. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/MultipartBody.java
  12. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/NativeResponseHandler.java
  13. +1 −3 components/abstractions/src/main/java/com/microsoft/kiota/PeriodAndDuration.java
  14. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/RequestAdapter.java
  15. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/RequestHeaders.java
  16. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/RequestInformation.java
  17. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/RequestOption.java
  18. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/ResponseHandler.java
  19. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/ResponseHandlerOption.java
  20. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/ResponseHeaders.java
  21. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/authentication/AccessTokenProvider.java
  22. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/authentication/AllowedHostsValidator.java
  23. +2 −2 ...bstractions/src/main/java/com/microsoft/kiota/authentication/AnonymousAuthenticationProvider.java
  24. +2 −2 ...s/abstractions/src/main/java/com/microsoft/kiota/authentication/ApiKeyAuthenticationProvider.java
  25. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/authentication/AuthenticationProvider.java
  26. +2 −2 ...tions/src/main/java/com/microsoft/kiota/authentication/BaseBearerTokenAuthenticationProvider.java
  27. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/serialization/AdditionalDataHolder.java
  28. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/serialization/Parsable.java
  29. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/serialization/ParsableFactory.java
  30. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/serialization/ParseNode.java
  31. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/serialization/ParseNodeFactory.java
  32. +1 −1 ...onents/abstractions/src/main/java/com/microsoft/kiota/serialization/ParseNodeFactoryRegistry.java
  33. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/serialization/ParseNodeHelper.java
  34. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/serialization/ParseNodeProxyFactory.java
  35. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/serialization/SerializationWriter.java
  36. +1 −1 ...ents/abstractions/src/main/java/com/microsoft/kiota/serialization/SerializationWriterFactory.java
  37. +1 −1 ...tractions/src/main/java/com/microsoft/kiota/serialization/SerializationWriterFactoryRegistry.java
  38. +2 −2 ...abstractions/src/main/java/com/microsoft/kiota/serialization/SerializationWriterProxyFactory.java
  39. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/serialization/ValuedEnum.java
  40. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/store/BackedModel.java
  41. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/store/BackingStore.java
  42. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/store/BackingStoreFactory.java
  43. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/store/BackingStoreFactorySingleton.java
  44. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/store/BackingStoreParseNodeFactory.java
  45. +1 −1 ...ractions/src/main/java/com/microsoft/kiota/store/BackingStoreSerializationWriterProxyFactory.java
  46. +2 −2 components/abstractions/src/main/java/com/microsoft/kiota/store/InMemoryBackingStore.java
  47. +1 −1 components/abstractions/src/main/java/com/microsoft/kiota/store/InMemoryBackingStoreFactory.java
  48. +2 −2 components/abstractions/src/test/java/com/microsoft/kiota/RequestInformationTest.java
  49. +1 −1 components/abstractions/src/test/java/com/microsoft/kiota/TestEntity.java
  50. +1 −2 components/authentication/azure/build.gradle
  51. +4 −3 components/authentication/azure/gradle/dependencies.gradle
  52. +2 −2 ...tion/azure/src/main/java/com/microsoft/kiota/authentication/AzureIdentityAccessTokenProvider.java
  53. +2 −2 ...n/azure/src/main/java/com/microsoft/kiota/authentication/AzureIdentityAuthenticationProvider.java
  54. +1 −1 ...s/authentication/azure/src/main/java/com/microsoft/kiota/authentication/ObservabilityOptions.java
  55. +1 −2 components/http/okHttp/build.gradle
  56. +4 −3 components/http/okHttp/gradle/dependencies.gradle
  57. +2 −2 components/http/okHttp/src/main/java/com/microsoft/kiota/http/KiotaClientFactory.java
  58. +1 −1 components/http/okHttp/src/main/java/com/microsoft/kiota/http/ObservabilityOptions.java
  59. +2 −2 components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java
  60. +1 −1 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/ChaosHandler.java
  61. +2 −2 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/ObservabilityHelper.java
  62. +2 −2 .../http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/ParametersNameDecodingHandler.java
  63. +2 −2 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/RedirectHandler.java
  64. +2 −2 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/RetryHandler.java
  65. +2 −2 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/TelemetryHandler.java
  66. +1 −1 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java
  67. +2 −2 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UserAgentHandler.java
  68. +1 −1 ...onents/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/options/IShouldRedirect.java
  69. +1 −1 components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/options/IShouldRetry.java
  70. +1 −1 ...kHttp/src/main/java/com/microsoft/kiota/http/middleware/options/ParametersNameDecodingOption.java
  71. +2 −2 .../http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/options/RedirectHandlerOption.java
  72. +2 −2 ...nts/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/options/RetryHandlerOption.java
  73. +2 −2 ...http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/options/TelemetryHandlerOption.java
  74. +1 −1 ...ttp/okHttp/src/main/java/com/microsoft/kiota/http/middleware/options/UrlReplaceHandlerOption.java
  75. +2 −2 ...http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/options/UserAgentHandlerOption.java
  76. +1 −2 components/serialization/form/build.gradle
  77. +1 −0 components/serialization/form/gradle/dependencies.gradle
  78. +4 −0 components/serialization/form/spotBugsExcludeFilter.xml
  79. +2 −2 components/serialization/form/src/main/java/com/microsoft/kiota/serialization/FormParseNode.java
  80. +1 −1 ...ents/serialization/form/src/main/java/com/microsoft/kiota/serialization/FormParseNodeFactory.java
  81. +2 −2 ...s/serialization/form/src/main/java/com/microsoft/kiota/serialization/FormSerializationWriter.java
  82. +1 −1 ...lization/form/src/main/java/com/microsoft/kiota/serialization/FormSerializationWriterFactory.java
  83. +2 −2 ...ts/serialization/form/src/test/java/com/microsoft/kiota/serialization/mocks/SecondTestEntity.java
  84. +3 −3 components/serialization/form/src/test/java/com/microsoft/kiota/serialization/mocks/TestEntity.java
  85. +1 −2 components/serialization/json/build.gradle
  86. +1 −0 components/serialization/json/gradle/dependencies.gradle
  87. +4 −0 components/serialization/json/spotBugsExcludeFilter.xml
  88. +2 −2 components/serialization/json/src/main/java/com/microsoft/kiota/serialization/JsonParseNode.java
  89. +1 −1 ...ents/serialization/json/src/main/java/com/microsoft/kiota/serialization/JsonParseNodeFactory.java
  90. +2 −2 ...s/serialization/json/src/main/java/com/microsoft/kiota/serialization/JsonSerializationWriter.java
  91. +1 −1 ...lization/json/src/main/java/com/microsoft/kiota/serialization/JsonSerializationWriterFactory.java
  92. +2 −2 ...erialization/json/src/test/java/com/microsoft/kiota/serialization/mocks/IntersectionTypeMock.java
  93. +2 −2 ...ts/serialization/json/src/test/java/com/microsoft/kiota/serialization/mocks/SecondTestEntity.java
  94. +3 −3 components/serialization/json/src/test/java/com/microsoft/kiota/serialization/mocks/TestEntity.java
  95. +2 −2 ...nents/serialization/json/src/test/java/com/microsoft/kiota/serialization/mocks/UnionTypeMock.java
  96. +1 −2 components/serialization/multipart/build.gradle
  97. +1 −0 components/serialization/multipart/gradle/dependencies.gradle
  98. +2 −2 ...ation/multipart/src/main/java/com/microsoft/kiota/serialization/MultipartSerializationWriter.java
  99. +1 −1 ...ultipart/src/main/java/com/microsoft/kiota/serialization/MultipartSerializationWriterFactory.java
  100. +2 −2 ...rialization/multipart/src/test/java/com/microsoft/kiota/serialization/mocks/SecondTestEntity.java
  101. +3 −3 ...nts/serialization/multipart/src/test/java/com/microsoft/kiota/serialization/mocks/TestEntity.java
  102. +1 −2 components/serialization/text/build.gradle
  103. +2 −1 components/serialization/text/gradle/dependencies.gradle
  104. +2 −2 components/serialization/text/src/main/java/com/microsoft/kiota/serialization/TextParseNode.java
  105. +1 −1 ...ents/serialization/text/src/main/java/com/microsoft/kiota/serialization/TextParseNodeFactory.java
  106. +2 −2 ...s/serialization/text/src/main/java/com/microsoft/kiota/serialization/TextSerializationWriter.java
  107. +1 −1 ...lization/text/src/main/java/com/microsoft/kiota/serialization/TextSerializationWriterFactory.java
  108. +1 −1 gradle.properties
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

## [0.6.0] - 2023-08-08

### Changed

- Javax annotations replaced in favor of Jakarta annotations.

## [0.5.0] - 2023-07-26

### Added
3 changes: 1 addition & 2 deletions components/abstractions/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
id 'java'
id 'eclipse'
id 'maven-publish'
id 'signing'
id 'jacoco'
id 'com.github.spotbugs' version '5.1.0'
id 'com.github.spotbugs' version '5.1.2'
id "org.sonarqube" version "4.3.0.3225"
}

6 changes: 3 additions & 3 deletions components/abstractions/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ dependencies {
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:32.1.2-jre'
implementation 'org.javatuples:javatuples:1.2'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'io.opentelemetry:opentelemetry-api:1.28.0'
implementation 'io.opentelemetry:opentelemetry-context:1.28.0'
implementation 'io.opentelemetry:opentelemetry-api:1.29.0'
implementation 'io.opentelemetry:opentelemetry-context:1.29.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
}
8 changes: 8 additions & 0 deletions components/abstractions/spotBugsExcludeFilter.xml
Original file line number Diff line number Diff line change
@@ -7,4 +7,12 @@ xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubu
<Class name="com.microsoft.kiota.UriTemplate$UriTemplateParser" />
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
</Match>
<Match>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
<Or>
<Class name="com.microsoft.kiota.BaseRequestBuilder" />
<Class name="com.microsoft.kiota.BaseRequestConfiguration" />
<Class name="com.microsoft.kiota.RequestInformation" />
</Or>
</Match>
</FindBugsFilter>
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@

import java.util.Objects;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/** Provides a builder for creating an ApiClient and register the default serializers/deserializers. */
public class ApiClientBuilder {
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

import java.util.Objects;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/** Parent type for exceptions thrown by the client when receiving failed responses to its requests. */
public class ApiException extends Exception {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import java.util.HashMap;
import java.util.Objects;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/** Base class for request builders */
public abstract class BaseRequestBuilder {
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

import java.util.Collections;

import javax.annotation.Nullable;
import jakarta.annotation.Nullable;

/** Base class for request configuration */
public abstract class BaseRequestConfiguration {
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
import java.util.Objects;
import java.util.Set;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

class CaseInsensitiveMap implements Map<String, Set<String>>{
private final HashMap<String, HashSet<String>> internalMap = new HashMap<>();
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
import java.util.Objects;
import java.util.Set;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

class Headers extends CaseInsensitiveMap {
/** Default constructor */
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@
import java.util.UUID;
import java.util.function.Consumer;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

import com.google.common.base.Strings;
import com.microsoft.kiota.serialization.Parsable;
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@
import java.util.Map;
import java.util.concurrent.CompletableFuture;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParsableFactory;
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.microsoft.kiota;

import javax.annotation.Nonnull;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nonnull;
import java.io.Serializable;
import java.time.Duration;
import java.time.Period;
@@ -28,7 +27,6 @@
/**
* The aggregate type for {@code Period} and {@code Duration }
*/
@Immutable
public final class PeriodAndDuration implements TemporalAmount, Comparable<PeriodAndDuration>, Serializable {

/**
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@
import java.util.HashMap;
import java.util.List;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParsableFactory;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.kiota;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/**
* A class representing the headers of a request.
Original file line number Diff line number Diff line change
@@ -20,8 +20,8 @@
import java.time.OffsetDateTime;


import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.SerializationWriter;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.kiota;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/** Represents a request option. */
public interface RequestOption {
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@
import java.util.HashMap;
import java.util.concurrent.CompletableFuture;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParsableFactory;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.microsoft.kiota;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** Request option that can be used to provide a callback and handle the raw response */
public class ResponseHandlerOption implements RequestOption {
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.kiota;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/**
* A class representing the headers of a request.
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@
import java.util.Map;
import java.util.concurrent.CompletableFuture;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** Returns access tokens */
public interface AccessTokenProvider {
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
import java.util.Locale;
import java.util.Set;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/** Maintains a list of valid hosts and allows authentication providers to check whether a host is valid before authenticating a request */
public class AllowedHostsValidator {
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@
import java.util.Map;
import java.util.concurrent.CompletableFuture;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** This authentication provider does not perform any authentication. */
public class AnonymousAuthenticationProvider implements AuthenticationProvider {
Original file line number Diff line number Diff line change
@@ -6,8 +6,8 @@
import java.util.Objects;
import java.util.concurrent.CompletableFuture;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

import com.microsoft.kiota.RequestInformation;

Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@
import java.util.Map;
import java.util.concurrent.CompletableFuture;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** Authenticates the application request. */
public interface AuthenticationProvider {
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
import java.util.Map;
import java.util.Objects;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** Provides a base class for implementing AuthenticationProvider for Bearer token scheme. */
public class BaseBearerTokenAuthenticationProvider implements AuthenticationProvider {
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

import java.util.Map;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/** Defines a contract for models that can hold additional data besides the described properties. */
public interface AdditionalDataHolder {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import java.util.Map;
import java.util.function.Consumer;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;
/**
* Defines a serializable model object.
*/
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.kiota.serialization;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/**
* Defines the factory for creating parsable objects.
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@
import java.util.UUID;
import java.util.function.Consumer;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/**
* Interface for a deserialization node in a parse tree. This interface provides an abstraction layer over serialization formats, libraries and implementations.
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

import java.io.InputStream;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/**
* Defines the contract for a factory that is used to create {@link ParseNode}s.
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
import java.util.Objects;
import java.util.regex.Pattern;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/**
* This factory holds a list of all the registered factories for the various types of nodes.
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
import java.util.Map.Entry;
import java.util.function.Consumer;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;

/** Utility methods to reduce the amount of code being generated. */
public class ParseNodeHelper {
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@

import java.io.InputStream;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** Proxy factory that allows the composition of before and after callbacks on existing factories. */
public abstract class ParseNodeProxyFactory implements ParseNodeFactory {
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@
import java.util.function.Consumer;
import java.util.function.BiConsumer;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** Defines an interface for serialization of objects to a stream. */
public interface SerializationWriter extends Closeable {
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.kiota.serialization;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;
/** Defines the contract for a factory that creates SerializationWriter instances. */
public interface SerializationWriterFactory {
/**
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
import java.util.Objects;
import java.util.regex.Pattern;

import javax.annotation.Nonnull;
import jakarta.annotation.Nonnull;
/** This factory holds a list of all the registered factories for the various types of nodes. */
public class SerializationWriterFactoryRegistry implements SerializationWriterFactory {
/** Default constructor for the registry. */
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@
import java.util.function.BiConsumer;
import java.util.Objects;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

/** Proxy factory that allows the composition of before and after callbacks on existing factories. */
public abstract class SerializationWriterProxyFactory implements SerializationWriterFactory {
Loading