From b0abfd02cf9e97f7409df3296818ac990b429058 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 10 Dec 2024 01:20:08 +0000
Subject: [PATCH 01/28] chore(deps): update github/codeql-action digest to
8975792 (#1241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 1eaeaf48..82c17978 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@6f9e628e6f9a18c785dd746325ba455111df1b67
+ uses: github/codeql-action/init@89757925c7adddb19b7a2f28e3e1b27da88b7304
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@6f9e628e6f9a18c785dd746325ba455111df1b67
+ uses: github/codeql-action/analyze@89757925c7adddb19b7a2f28e3e1b27da88b7304
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index 41ea5f52..71cf81d5 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@6f9e628e6f9a18c785dd746325ba455111df1b67
+ uses: github/codeql-action/init@89757925c7adddb19b7a2f28e3e1b27da88b7304
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@6f9e628e6f9a18c785dd746325ba455111df1b67
+ uses: github/codeql-action/autobuild@89757925c7adddb19b7a2f28e3e1b27da88b7304
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@6f9e628e6f9a18c785dd746325ba455111df1b67
+ uses: github/codeql-action/analyze@89757925c7adddb19b7a2f28e3e1b27da88b7304
From 884f8fbf77c41e070526da0f73e136d4c3e41a4d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 11 Dec 2024 01:28:12 +0000
Subject: [PATCH 02/28] chore(deps): update github/codeql-action digest to
4d64ab6 (#1243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 82c17978..92f2dd65 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@89757925c7adddb19b7a2f28e3e1b27da88b7304
+ uses: github/codeql-action/init@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@89757925c7adddb19b7a2f28e3e1b27da88b7304
+ uses: github/codeql-action/analyze@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index 71cf81d5..ac3559de 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@89757925c7adddb19b7a2f28e3e1b27da88b7304
+ uses: github/codeql-action/init@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@89757925c7adddb19b7a2f28e3e1b27da88b7304
+ uses: github/codeql-action/autobuild@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@89757925c7adddb19b7a2f28e3e1b27da88b7304
+ uses: github/codeql-action/analyze@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
From fd1c1702c6d4067c432c1522143266ddf470d18d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 11 Dec 2024 22:04:18 +0000
Subject: [PATCH 03/28] chore(deps): update github/codeql-action digest to
78d0136 (#1245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 92f2dd65..53fc7bd3 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
+ uses: github/codeql-action/init@78d0136ff775bdfbff08f0d165181940f8bcf007
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
+ uses: github/codeql-action/analyze@78d0136ff775bdfbff08f0d165181940f8bcf007
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index ac3559de..8f1a82f6 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
+ uses: github/codeql-action/init@78d0136ff775bdfbff08f0d165181940f8bcf007
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
+ uses: github/codeql-action/autobuild@78d0136ff775bdfbff08f0d165181940f8bcf007
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@4d64ab66ada6f86ef77ffc21047dd6ffabd004d4
+ uses: github/codeql-action/analyze@78d0136ff775bdfbff08f0d165181940f8bcf007
From 9acc8612a5fa7ea086da476195154a007cb55b7e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 12 Dec 2024 00:54:52 +0000
Subject: [PATCH 04/28] chore(deps): update actions/setup-java digest to
7136edc (#1244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/merge.yml | 2 +-
.github/workflows/pullrequest.yml | 2 +-
.github/workflows/release.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml
index ad5c5638..4f9d6f2c 100644
--- a/.github/workflows/merge.yml
+++ b/.github/workflows/merge.yml
@@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Set up JDK 8
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
+ uses: actions/setup-java@7136edc5e8145b3c0b6bae8f4e62706c74e76538
with:
java-version: '8'
distribution: 'temurin'
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 53fc7bd3..5fb90877 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Set up JDK 8
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
+ uses: actions/setup-java@7136edc5e8145b3c0b6bae8f4e62706c74e76538
with:
java-version: '8'
distribution: 'temurin'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 251ae637..60699590 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Set up JDK 8
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
+ uses: actions/setup-java@7136edc5e8145b3c0b6bae8f4e62706c74e76538
with:
java-version: '8'
distribution: 'temurin'
From 86e18c5d28a9f5fdd7234274720ba7ddcb529268 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 13 Dec 2024 01:31:22 +0000
Subject: [PATCH 05/28] chore(deps): update actions/setup-java digest to
7a6d8a8 (#1248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/merge.yml | 2 +-
.github/workflows/pullrequest.yml | 2 +-
.github/workflows/release.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml
index 4f9d6f2c..3aeb2371 100644
--- a/.github/workflows/merge.yml
+++ b/.github/workflows/merge.yml
@@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Set up JDK 8
- uses: actions/setup-java@7136edc5e8145b3c0b6bae8f4e62706c74e76538
+ uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b
with:
java-version: '8'
distribution: 'temurin'
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 5fb90877..cce82684 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Set up JDK 8
- uses: actions/setup-java@7136edc5e8145b3c0b6bae8f4e62706c74e76538
+ uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b
with:
java-version: '8'
distribution: 'temurin'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 60699590..2b1eb9e7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb
- name: Set up JDK 8
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-java@7136edc5e8145b3c0b6bae8f4e62706c74e76538
+ uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b
with:
java-version: '8'
distribution: 'temurin'
From 4440cda6a5b42a903ba11835a975bf6247de845f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 15 Dec 2024 12:48:35 +0000
Subject: [PATCH 06/28] chore(deps): update dependency net.bytebuddy:byte-buddy
to v1.15.11 (#1249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 5c44206f..243062e8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -164,7 +164,7 @@
net.bytebuddy
byte-buddy
- 1.15.10
+ 1.15.11
test
From 6d169f55e235a071033a9bf1138484f09a5e472d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 15 Dec 2024 15:06:36 +0000
Subject: [PATCH 07/28] chore(deps): update github/codeql-action digest to
dd75594 (#1247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index cce82684..43c8bac5 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@78d0136ff775bdfbff08f0d165181940f8bcf007
+ uses: github/codeql-action/init@dd7559424621a6dd0b32ababe9e4b271a87f78d2
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@78d0136ff775bdfbff08f0d165181940f8bcf007
+ uses: github/codeql-action/analyze@dd7559424621a6dd0b32ababe9e4b271a87f78d2
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index 8f1a82f6..e6eb92de 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@78d0136ff775bdfbff08f0d165181940f8bcf007
+ uses: github/codeql-action/init@dd7559424621a6dd0b32ababe9e4b271a87f78d2
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@78d0136ff775bdfbff08f0d165181940f8bcf007
+ uses: github/codeql-action/autobuild@dd7559424621a6dd0b32ababe9e4b271a87f78d2
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@78d0136ff775bdfbff08f0d165181940f8bcf007
+ uses: github/codeql-action/analyze@dd7559424621a6dd0b32ababe9e4b271a87f78d2
From 6772d3f3943fb3b7f7522c80b732aa058fd03bb9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 15 Dec 2024 18:15:18 +0000
Subject: [PATCH 08/28] chore(deps): update dependency
net.bytebuddy:byte-buddy-agent to v1.15.11 (#1250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 243062e8..78432e71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -171,7 +171,7 @@
net.bytebuddy
byte-buddy-agent
- 1.15.10
+ 1.15.11
test
From 834f72071806680353f42c750b04e36956736a9e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 16 Dec 2024 18:39:04 +0000
Subject: [PATCH 09/28] fix(deps): update junit5 monorepo (#1251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pom.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 78432e71..cd500fce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
UTF-8
1.8
${maven.compiler.source}
- 5.11.3
+ 5.11.4
**/e2e/*.java
${project.groupId}.${project.artifactId}
@@ -109,7 +109,7 @@
org.junit.platform
junit-platform-suite
- 1.11.3
+ 1.11.4
test
@@ -187,7 +187,7 @@
org.junit
junit-bom
- 5.11.3
+ 5.11.4
pom
import
From 482a5aef1005b2ebe2fdb9ee43243b6c2aeeadc8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 16 Dec 2024 22:56:34 +0000
Subject: [PATCH 10/28] chore(deps): update github/codeql-action digest to
9d59969 (#1252)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 43c8bac5..bfbfd198 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@dd7559424621a6dd0b32ababe9e4b271a87f78d2
+ uses: github/codeql-action/init@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@dd7559424621a6dd0b32ababe9e4b271a87f78d2
+ uses: github/codeql-action/analyze@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index e6eb92de..52e88486 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@dd7559424621a6dd0b32ababe9e4b271a87f78d2
+ uses: github/codeql-action/init@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@dd7559424621a6dd0b32ababe9e4b271a87f78d2
+ uses: github/codeql-action/autobuild@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@dd7559424621a6dd0b32ababe9e4b271a87f78d2
+ uses: github/codeql-action/analyze@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
From f39c4b5af5e341bfec230d4cecd2037fc5430400 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 17 Dec 2024 06:20:23 +0000
Subject: [PATCH 11/28] chore(deps): update dependency com.google.guava:guava
to v33.4.0-jre (#1253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index cd500fce..a8a0ff42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -135,7 +135,7 @@
com.google.guava
guava
- 33.3.1-jre
+ 33.4.0-jre
test
From 6a7987455ef7e46d40b835c7d8dbda29322e3b2d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 18 Dec 2024 03:34:59 +0000
Subject: [PATCH 12/28] chore(deps): update github/codeql-action digest to
562042d (#1254)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index bfbfd198..62339017 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
+ uses: github/codeql-action/init@562042d742d834fa44c4fd29c197a62d76568c60
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
+ uses: github/codeql-action/analyze@562042d742d834fa44c4fd29c197a62d76568c60
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index 52e88486..81b66207 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
+ uses: github/codeql-action/init@562042d742d834fa44c4fd29c197a62d76568c60
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
+ uses: github/codeql-action/autobuild@562042d742d834fa44c4fd29c197a62d76568c60
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@9d599696ef6f3546b15e3d9dfe46db6dfa487b9a
+ uses: github/codeql-action/analyze@562042d742d834fa44c4fd29c197a62d76568c60
From d274cdac3780286a0b45865864b12c3e4cff9f4b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 19 Dec 2024 02:15:10 +0000
Subject: [PATCH 13/28] chore(deps): update codecov/codecov-action action to
v5.1.2 (#1255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/merge.yml | 2 +-
.github/workflows/pullrequest.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml
index 3aeb2371..92993ff5 100644
--- a/.github/workflows/merge.yml
+++ b/.github/workflows/merge.yml
@@ -49,7 +49,7 @@ jobs:
run: mvn --batch-mode --update-snapshots verify
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v5.1.1
+ uses: codecov/codecov-action@v5.1.2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
flags: unittests # optional
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 62339017..cc345fc2 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -36,7 +36,7 @@ jobs:
run: mvn --batch-mode --update-snapshots --activate-profiles e2e verify
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v5.1.1
+ uses: codecov/codecov-action@v5.1.2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
flags: unittests # optional
From 992c00396cb2fca6a6a7dc63d727b063a79386b6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 19 Dec 2024 04:03:19 +0000
Subject: [PATCH 14/28] chore(deps): update github/codeql-action digest to
64cc90b (#1256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index cc345fc2..9659aaf6 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@562042d742d834fa44c4fd29c197a62d76568c60
+ uses: github/codeql-action/init@64cc90bcd4b0a6919309f7882f920e60de2aef1c
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@562042d742d834fa44c4fd29c197a62d76568c60
+ uses: github/codeql-action/analyze@64cc90bcd4b0a6919309f7882f920e60de2aef1c
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index 81b66207..0351ac45 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@562042d742d834fa44c4fd29c197a62d76568c60
+ uses: github/codeql-action/init@64cc90bcd4b0a6919309f7882f920e60de2aef1c
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@562042d742d834fa44c4fd29c197a62d76568c60
+ uses: github/codeql-action/autobuild@64cc90bcd4b0a6919309f7882f920e60de2aef1c
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@562042d742d834fa44c4fd29c197a62d76568c60
+ uses: github/codeql-action/analyze@64cc90bcd4b0a6919309f7882f920e60de2aef1c
From 6d60c962fbac48a13d86271b361fb0cfd91a5342 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 19 Dec 2024 22:28:15 +0000
Subject: [PATCH 15/28] chore(deps): update github/codeql-action digest to
d01b25e (#1257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 9659aaf6..6700b6fe 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@64cc90bcd4b0a6919309f7882f920e60de2aef1c
+ uses: github/codeql-action/init@d01b25e645295d11d0fbb084a8c5e7546b1e508b
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@64cc90bcd4b0a6919309f7882f920e60de2aef1c
+ uses: github/codeql-action/analyze@d01b25e645295d11d0fbb084a8c5e7546b1e508b
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index 0351ac45..da1577a8 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@64cc90bcd4b0a6919309f7882f920e60de2aef1c
+ uses: github/codeql-action/init@d01b25e645295d11d0fbb084a8c5e7546b1e508b
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@64cc90bcd4b0a6919309f7882f920e60de2aef1c
+ uses: github/codeql-action/autobuild@d01b25e645295d11d0fbb084a8c5e7546b1e508b
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@64cc90bcd4b0a6919309f7882f920e60de2aef1c
+ uses: github/codeql-action/analyze@d01b25e645295d11d0fbb084a8c5e7546b1e508b
From c62ade3878dabf9194536d551f3316ba5c0ce5e1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 20 Dec 2024 01:39:52 +0000
Subject: [PATCH 16/28] chore(deps): update dependency org.assertj:assertj-core
to v3.27.0 (#1258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a8a0ff42..6f6e14f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,7 +74,7 @@
org.assertj
assertj-core
- 3.26.3
+ 3.27.0
test
From fc6f35e581cacb0ad149c58a5943ec1429ce25ca Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 21 Dec 2024 00:46:09 +0000
Subject: [PATCH 17/28] chore(deps): update github/codeql-action digest to
7876007 (#1260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 6700b6fe..30e172bb 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@d01b25e645295d11d0fbb084a8c5e7546b1e508b
+ uses: github/codeql-action/init@78760076e3f08852c2c3aeb5334f70d074e28c59
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@d01b25e645295d11d0fbb084a8c5e7546b1e508b
+ uses: github/codeql-action/analyze@78760076e3f08852c2c3aeb5334f70d074e28c59
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index da1577a8..7891a8bb 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@d01b25e645295d11d0fbb084a8c5e7546b1e508b
+ uses: github/codeql-action/init@78760076e3f08852c2c3aeb5334f70d074e28c59
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@d01b25e645295d11d0fbb084a8c5e7546b1e508b
+ uses: github/codeql-action/autobuild@78760076e3f08852c2c3aeb5334f70d074e28c59
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@d01b25e645295d11d0fbb084a8c5e7546b1e508b
+ uses: github/codeql-action/analyze@78760076e3f08852c2c3aeb5334f70d074e28c59
From f1817d8fef585f957de1cfb9222b03cb591ed2e9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 23 Dec 2024 23:06:59 +0000
Subject: [PATCH 18/28] chore(deps): update github/codeql-action digest to
5b6e617 (#1263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/pullrequest.yml | 4 ++--
.github/workflows/static-code-scanning.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 30e172bb..4fa803aa 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -20,7 +20,7 @@ jobs:
cache: maven
- name: Initialize CodeQL
- uses: github/codeql-action/init@78760076e3f08852c2c3aeb5334f70d074e28c59
+ uses: github/codeql-action/init@5b6e617dc0241b2d60c2bccea90c56b67eceb797
with:
languages: java
@@ -45,4 +45,4 @@ jobs:
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@78760076e3f08852c2c3aeb5334f70d074e28c59
+ uses: github/codeql-action/analyze@5b6e617dc0241b2d60c2bccea90c56b67eceb797
diff --git a/.github/workflows/static-code-scanning.yaml b/.github/workflows/static-code-scanning.yaml
index 7891a8bb..f03229c2 100644
--- a/.github/workflows/static-code-scanning.yaml
+++ b/.github/workflows/static-code-scanning.yaml
@@ -33,12 +33,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@78760076e3f08852c2c3aeb5334f70d074e28c59
+ uses: github/codeql-action/init@5b6e617dc0241b2d60c2bccea90c56b67eceb797
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@78760076e3f08852c2c3aeb5334f70d074e28c59
+ uses: github/codeql-action/autobuild@5b6e617dc0241b2d60c2bccea90c56b67eceb797
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@78760076e3f08852c2c3aeb5334f70d074e28c59
+ uses: github/codeql-action/analyze@5b6e617dc0241b2d60c2bccea90c56b67eceb797
From 64ec68bcf5c8151802ce299f252bbb97dd9e0bd4 Mon Sep 17 00:00:00 2001
From: Simon Schrottner
Date: Fri, 3 Jan 2025 19:06:22 +0100
Subject: [PATCH 19/28] build: change checkstyle to google code format, plus
adding spotless (#1264)
Signed-off-by: Simon Schrottner
---
.editorconfig | 72 +
CONTRIBUTING.md | 32 +
checkstyle.xml | 259 +++-
pom.xml | 1190 +++++++++--------
.../openfeature/sdk/AbstractStructure.java | 13 +-
.../dev/openfeature/sdk/BaseEvaluation.java | 6 +
.../java/dev/openfeature/sdk/BooleanHook.java | 2 +-
.../java/dev/openfeature/sdk/DoubleHook.java | 4 +-
.../java/dev/openfeature/sdk/ErrorCode.java | 8 +-
.../openfeature/sdk/EvaluationContext.java | 16 +-
.../java/dev/openfeature/sdk/EventBus.java | 26 +-
.../dev/openfeature/sdk/EventDetails.java | 4 +-
.../dev/openfeature/sdk/EventProvider.java | 1 -
.../dev/openfeature/sdk/EventSupport.java | 63 +-
.../dev/openfeature/sdk/FeatureProvider.java | 4 +-
.../sdk/FeatureProviderStateManager.java | 4 +-
.../java/dev/openfeature/sdk/Features.java | 27 +-
.../sdk/FlagEvaluationDetails.java | 6 +-
.../sdk/FlagEvaluationOptions.java | 2 +-
.../dev/openfeature/sdk/FlagValueType.java | 6 +-
src/main/java/dev/openfeature/sdk/Hook.java | 11 +-
.../java/dev/openfeature/sdk/HookContext.java | 30 +-
.../java/dev/openfeature/sdk/HookSupport.java | 48 +-
.../dev/openfeature/sdk/ImmutableContext.java | 9 +-
.../openfeature/sdk/ImmutableMetadata.java | 7 +-
.../openfeature/sdk/ImmutableStructure.java | 11 +-
.../sdk/ImmutableTrackingEventDetails.java | 12 +-
.../java/dev/openfeature/sdk/IntegerHook.java | 2 +-
.../dev/openfeature/sdk/MutableContext.java | 9 +-
.../dev/openfeature/sdk/MutableStructure.java | 5 +-
.../sdk/MutableTrackingEventDetails.java | 16 +-
.../dev/openfeature/sdk/NoOpProvider.java | 5 +-
.../sdk/NoOpTransactionContextPropagator.java | 5 +-
.../dev/openfeature/sdk/OpenFeatureAPI.java | 47 +-
.../openfeature/sdk/OpenFeatureClient.java | 129 +-
.../openfeature/sdk/ProviderEvaluation.java | 1 +
.../dev/openfeature/sdk/ProviderEvent.java | 5 +-
.../openfeature/sdk/ProviderEventDetails.java | 4 +-
.../openfeature/sdk/ProviderRepository.java | 82 +-
.../dev/openfeature/sdk/ProviderState.java | 8 +-
src/main/java/dev/openfeature/sdk/Reason.java | 9 +-
.../java/dev/openfeature/sdk/StringHook.java | 2 +-
.../java/dev/openfeature/sdk/Structure.java | 32 +-
.../openfeature/sdk/TrackingEventDetails.java | 3 +-
src/main/java/dev/openfeature/sdk/Value.java | 122 +-
.../sdk/exceptions/ExceptionUtils.java | 3 +-
.../sdk/exceptions/FatalError.java | 3 +-
.../sdk/exceptions/FlagNotFoundError.java | 2 +-
.../sdk/exceptions/GeneralError.java | 1 +
.../sdk/exceptions/InvalidContextError.java | 4 +-
.../sdk/exceptions/ParseError.java | 4 +-
.../sdk/exceptions/ProviderNotReadyError.java | 4 +-
.../exceptions/TargetingKeyMissingError.java | 4 +-
.../sdk/exceptions/TypeMismatchError.java | 4 +-
.../exceptions/ValueNotConvertableError.java | 1 +
.../sdk/hooks/logging/LoggingHook.java | 16 +-
.../sdk/internal/AutoCloseableLock.java | 2 +-
.../AutoCloseableReentrantReadWriteLock.java | 4 +-
.../ExcludeFromGeneratedCoverageReport.java | 7 +-
.../openfeature/sdk/internal/ObjectUtils.java | 21 +-
.../openfeature/sdk/internal/TriConsumer.java | 4 +-
.../providers/memory/ContextEvaluator.java | 1 +
.../sdk/providers/memory/Flag.java | 4 +-
.../providers/memory/InMemoryProvider.java | 67 +-
.../openfeature/sdk/AlwaysBrokenProvider.java | 3 +-
.../sdk/AlwaysBrokenWithDetailsProvider.java | 3 +-
.../sdk/ClientProviderMappingTest.java | 4 +-
.../sdk/DeveloperExperienceTest.java | 39 +-
.../openfeature/sdk/DoSomethingProvider.java | 6 +-
.../dev/openfeature/sdk/EvalContextTest.java | 123 +-
.../openfeature/sdk/EventProviderTest.java | 33 +-
.../java/dev/openfeature/sdk/EventsTest.java | 266 ++--
.../sdk/FeatureProviderStateManagerTest.java | 67 +-
.../sdk/FlagEvaluationDetailsTest.java | 18 +-
.../sdk/FlagEvaluationSpecTest.java | 588 +++++---
.../dev/openfeature/sdk/FlagMetadataTest.java | 9 +-
.../dev/openfeature/sdk/HookContextTest.java | 36 +-
.../dev/openfeature/sdk/HookSpecTest.java | 358 +++--
.../dev/openfeature/sdk/HookSupportTest.java | 39 +-
.../openfeature/sdk/ImmutableContextTest.java | 54 +-
.../sdk/ImmutableStructureTest.java | 63 +-
.../sdk/InitializeBehaviorSpecTest.java | 59 +-
.../java/dev/openfeature/sdk/LockingTest.java | 28 +-
.../dev/openfeature/sdk/MetadataTest.java | 14 +-
.../openfeature/sdk/MutableContextTest.java | 52 +-
.../sdk/MutableTrackingEventDetailsTest.java | 16 +-
.../dev/openfeature/sdk/NoOpProviderTest.java | 15 +-
.../NoOpTransactionContextPropagatorTest.java | 7 +-
.../sdk/NotImplementedException.java | 2 +-
.../openfeature/sdk/OpenFeatureAPITest.java | 32 +-
.../sdk/OpenFeatureClientTest.java | 26 +-
.../sdk/ProviderEvaluationTest.java | 9 +-
.../sdk/ProviderRepositoryTest.java | 149 ++-
.../dev/openfeature/sdk/ProviderSpecTest.java | 112 +-
.../sdk/ShutdownBehaviorSpecTest.java | 61 +-
.../dev/openfeature/sdk/Specification.java | 1 +
.../dev/openfeature/sdk/StructureTest.java | 28 +-
...LocalTransactionContextPropagatorTest.java | 9 +-
.../dev/openfeature/sdk/TrackingSpecTest.java | 111 +-
.../java/dev/openfeature/sdk/ValueTest.java | 49 +-
.../sdk/benchmark/AllocationBenchmark.java | 24 +-
.../sdk/benchmark/AllocationProfiler.java | 27 +-
.../openfeature/sdk/e2e/EvaluationTest.java | 13 +-
.../sdk/e2e/evaluation/StepDefinitions.java | 115 +-
.../sdk/exceptions/ExceptionUtilsTest.java | 12 +-
.../sdk/fixtures/HookFixtures.java | 5 +-
.../sdk/fixtures/ProviderFixture.java | 17 +-
.../sdk/hooks/logging/LoggingHookTest.java | 26 +-
.../sdk/internal/ObjectUtilsTest.java | 14 +-
.../sdk/internal/TriConsumerTest.java | 3 +-
.../memory/InMemoryProviderTest.java | 56 +-
.../testutils/FeatureProviderTestUtils.java | 18 +-
.../sdk/testutils/TestEventsProvider.java | 16 +-
.../sdk/testutils/TestFlagsUtils.java | 114 +-
.../testutils/stubbing/ConditionStubber.java | 11 +-
115 files changed, 3267 insertions(+), 2208 deletions(-)
create mode 100644 .editorconfig
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..5bffb8ae
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,72 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 4
+indent_style = space
+insert_final_newline = true
+tab_width = 4
+trim_trailing_whitespace = true
+
+ij_continuation_indent_size = 8
+
+[*.md]
+max_line_length = off
+trim_trailing_whitespace = false
+
+# Following the rules of the Google Java Style Guide.
+# See https://google.github.io/styleguide/javaguide.html
+[*.java]
+max_line_length = 120
+
+ij_java_do_not_wrap_after_single_annotation_in_parameter = true
+ij_java_insert_inner_class_imports = false
+ij_java_class_count_to_use_import_on_demand = 999
+ij_java_names_count_to_use_import_on_demand = 999
+ij_java_packages_to_use_import_on_demand = unset
+ij_java_imports_layout = $*,|,*
+ij_java_doc_align_param_comments = true
+ij_java_doc_align_exception_comments = true
+ij_java_doc_add_p_tag_on_empty_lines = false
+ij_java_doc_do_not_wrap_if_one_line = true
+ij_java_doc_keep_empty_parameter_tag = false
+ij_java_doc_keep_empty_throws_tag = false
+ij_java_doc_keep_empty_return_tag = false
+ij_java_doc_preserve_line_breaks = true
+ij_java_doc_indent_on_continuation = true
+ij_java_keep_control_statement_in_one_line = false
+ij_java_keep_blank_lines_in_code = 1
+ij_java_align_multiline_parameters = false
+ij_java_align_multiline_resources = false
+ij_java_align_multiline_for = true
+ij_java_space_before_array_initializer_left_brace = true
+ij_java_call_parameters_wrap = normal
+ij_java_method_parameters_wrap = normal
+ij_java_extends_list_wrap = normal
+ij_java_throws_keyword_wrap = normal
+ij_java_method_call_chain_wrap = normal
+ij_java_binary_operation_wrap = normal
+ij_java_binary_operation_sign_on_next_line = true
+ij_java_ternary_operation_wrap = normal
+ij_java_ternary_operation_signs_on_next_line = true
+ij_java_keep_simple_methods_in_one_line = true
+ij_java_keep_simple_lambdas_in_one_line = true
+ij_java_keep_simple_classes_in_one_line = true
+ij_java_for_statement_wrap = normal
+ij_java_array_initializer_wrap = normal
+ij_java_wrap_comments = true
+ij_java_if_brace_force = always
+ij_java_do_while_brace_force = always
+ij_java_while_brace_force = always
+ij_java_for_brace_force = always
+ij_java_space_after_closing_angle_bracket_in_type_argument = false
+
+[{*.json,*.json5}]
+indent_size = 2
+tab_width = 2
+ij_smart_tabs = false
+
+[*.yaml]
+indent_size = 2
+tab_width = 2
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 84c9645b..71b881b8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -21,6 +21,38 @@ If you think we might be out of date with the spec, you can check that by invoki
If you're adding tests to cover something in the spec, use the `@Specification` annotation like you see throughout the test suites.
+## Code Styles
+
+### Overview
+Our project follows strict code formatting standards to maintain consistency and readability across the codebase. We use [Spotless](https://github.com/diffplug/spotless) integrated with the [Palantir Java Format](https://github.com/palantir/palantir-java-format) for code formatting.
+
+**Spotless** ensures that all code complies with the formatting rules automatically, reducing style-related issues during code reviews.
+
+### How to Format Your Code
+1. **Before Committing Changes:**
+ Run the Spotless plugin to format your code. This will apply the Palantir Java Format style:
+ ```bash
+ mvn spotless:apply
+ ```
+
+2. **Verify Formatting:**
+ To check if your code adheres to the style guidelines without making changes:
+ ```bash
+ mvn spotless:check
+ ```
+
+ - If this command fails, your code does not follow the required formatting. Use `mvn spotless:apply` to fix it.
+
+### CI/CD Integration
+Our Continuous Integration (CI) pipeline automatically checks code formatting using the Spotless plugin. Any code that does not pass the `spotless:check` step will cause the build to fail.
+
+### Best Practices
+- Regularly run `mvn spotless:apply` during your work to ensure your code remains aligned with the standards.
+- Configure your IDE (e.g., IntelliJ IDEA or Eclipse) to follow the Palantir Java format guidelines to reduce discrepancies during development.
+
+### Support
+If you encounter issues with code formatting, please raise a GitHub issue or contact the maintainers.
+
## End-to-End Tests
The continuous integration runs a set of [gherkin e2e tests](https://github.com/open-feature/spec/blob/main/specification/assets/gherkin/evaluation.feature) using `InMemoryProvider`.
diff --git a/checkstyle.xml b/checkstyle.xml
index 2cf598c3..c5cb2999 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -1,7 +1,7 @@
+ "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
+ "https://checkstyle.org/dtds/configuration_1_3.dtd">
-
+
+
-
+
@@ -34,9 +35,16 @@
+
+
-
+
@@ -52,7 +60,7 @@
-
+
@@ -69,48 +77,68 @@
+ value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
+ value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
+
-
-
+
+ value="LITERAL_DO, LITERAL_ELSE, LITERAL_FOR, LITERAL_IF, LITERAL_WHILE"/>
-
+
+
+ value="ANNOTATION_DEF, CLASS_DEF, CTOR_DEF, ENUM_CONSTANT_DEF, ENUM_DEF,
+ INTERFACE_DEF, LITERAL_CATCH,
+ LITERAL_DO, LITERAL_ELSE, LITERAL_FOR, LITERAL_IF,
+ LITERAL_WHILE, METHOD_DEF,
+ OBJBLOCK, STATIC_INIT, RECORD_DEF, COMPACT_CTOR_DEF"/>
+
+
+ value=" LITERAL_DEFAULT"/>
+
+
+
+
+
+ value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT,
+ INSTANCE_INIT, ANNOTATION_DEF, ENUM_DEF, INTERFACE_DEF, RECORD_DEF,
+ COMPACT_CTOR_DEF"/>
+
+
+
+
+
+
+
+
@@ -118,18 +146,35 @@
+
+
+ value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR,
+ BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, DO_WHILE, EQUAL, GE, GT, LAND,
+ LCURLY, LE, LITERAL_DO, LITERAL_ELSE,
+ LITERAL_FOR, LITERAL_IF,
+ LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN,
+ NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR,
+ SR_ASSIGN, STAR, STAR_ASSIGN, LITERAL_ASSERT,
+ TYPE_EXTENSION_AND"/>
+ value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks
+ may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
+ value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
+
+
+
+
+
+
+
+
@@ -140,8 +185,9 @@
+ value="PACKAGE_DEF, IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF,
+ STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF, RECORD_DEF,
+ COMPACT_CTOR_DEF"/>
@@ -155,13 +201,13 @@
-
+
-
+
@@ -174,22 +220,23 @@
+ value="Package name ''{0}'' must match pattern ''{1}''."/>
-
+
+ value="Type name ''{0}'' must match pattern ''{1}''."/>
+ value="Member name ''{0}'' must match pattern ''{1}''."/>
+ value="Parameter name ''{0}'' must match pattern ''{1}''."/>
@@ -199,38 +246,53 @@
+ value="Catch parameter name ''{0}'' must match pattern ''{1}''."/>
+ value="Local variable name ''{0}'' must match pattern ''{1}''."/>
+
+
+
+
+ value="Class type name ''{0}'' must match pattern ''{1}''."/>
+
+
+
+
+
+
+
+
+ value="Method type name ''{0}'' must match pattern ''{1}''."/>
+ value="Interface type name ''{0}'' must match pattern ''{1}''."/>
+ value="GenericWhitespace ''{0}'' is followed by whitespace."/>
+ value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
+ value="GenericWhitespace ''{0}'' should followed by whitespace."/>
+ value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
@@ -240,44 +302,62 @@
+
+
+
+
+
+ value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, ANNOTATION_DEF, ANNOTATION_FIELD_DEF,
+ PARAMETER_DEF, VARIABLE_DEF, METHOD_DEF, PATTERN_VARIABLE_DEF, RECORD_DEF,
+ RECORD_COMPONENT_DEF"/>
+
+
+
+
+
+
+
+
+ value="COMMA, SEMI, POST_INC, POST_DEC, DOT,
+ LABELED_STAT, METHOD_REF"/>
+ value="ANNOTATION, ANNOTATION_FIELD_DEF, CTOR_DEF, DOT, ENUM_CONSTANT_DEF,
+ EXPR, LITERAL_DO, LITERAL_FOR, LITERAL_IF, LITERAL_NEW,
+ LITERAL_WHILE, METHOD_CALL,
+ METHOD_DEF, QUESTION, RESOURCE_SPECIFICATION, SUPER_CTOR_CALL"/>
+ value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR,
+ LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR, METHOD_REF,
+ TYPE_EXTENSION_AND "/>
-
+ value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF,
+ RECORD_DEF, COMPACT_CTOR_DEF"/>
@@ -289,46 +369,83 @@
+ value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
-
+
+
+
+ value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
-
+
+
-
+
+
+
+
+
-
-
+
+ value="Method name ''{0}'' must match pattern ''{1}''."/>
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 6f6e14f6..e7fe58c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,590 +1,640 @@
- 4.0.0
-
- dev.openfeature
- sdk
- 1.13.0
-
-
- UTF-8
- 1.8
- ${maven.compiler.source}
- 5.11.4
-
- **/e2e/*.java
- ${project.groupId}.${project.artifactId}
-
-
- OpenFeature Java SDK
- This is the Java implementation of OpenFeature, a vendor-agnostic abstraction library for evaluating feature flags.
- https://openfeature.dev
-
-
- abrahms
- Justin Abrahms
- eBay
- https://justin.abrah.ms/
-
-
-
-
- Apache License 2.0
- https://www.apache.org/licenses/LICENSE-2.0
-
-
-
-
- scm:git:https://github.com/open-feature/java-sdk.git
- scm:git:https://github.com/open-feature/java-sdk.git
- https://github.com/open-feature/java-sdk
-
-
-
-
-
- org.projectlombok
- lombok
- 1.18.36
- provided
-
-
-
-
- com.github.spotbugs
- spotbugs
- 4.8.6
- provided
-
-
-
- org.slf4j
- slf4j-api
- 2.0.16
-
-
-
-
- org.mockito
- mockito-core
- 4.11.0
- test
-
-
-
- org.assertj
- assertj-core
- 3.27.0
- test
-
-
-
- org.junit.jupiter
- junit-jupiter
- ${junit.jupiter.version}
- test
-
-
-
- org.junit.jupiter
- junit-jupiter-engine
- ${junit.jupiter.version}
- test
-
-
-
- org.junit.jupiter
- junit-jupiter-api
- ${junit.jupiter.version}
- test
-
-
-
- org.junit.jupiter
- junit-jupiter-params
- ${junit.jupiter.version}
- test
-
-
-
- org.junit.platform
- junit-platform-suite
- 1.11.4
- test
-
-
-
- io.cucumber
- cucumber-java
- test
-
-
-
- io.cucumber
- cucumber-junit-platform-engine
- test
-
-
-
- org.simplify4u
- slf4j2-mock
- 2.4.0
- test
-
-
-
- com.google.guava
- guava
- 33.4.0-jre
- test
-
-
-
- org.awaitility
- awaitility
- 4.2.2
- test
-
-
-
- org.openjdk.jmh
- jmh-core
- 1.37
- test
-
-
-
-
-
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ 4.0.0
+
+ dev.openfeature
+ sdk
+ 1.13.0
+
+
+ UTF-8
+ 1.8
+ ${maven.compiler.source}
+ 5.11.4
+
+ **/e2e/*.java
+ ${project.groupId}.${project.artifactId}
+
+
+ OpenFeature Java SDK
+ This is the Java implementation of OpenFeature, a vendor-agnostic abstraction library for evaluating
+ feature flags.
+
+ https://openfeature.dev
+
+
+ abrahms
+ Justin Abrahms
+ eBay
+ https://justin.abrah.ms/
+
+
+
+
+ Apache License 2.0
+ https://www.apache.org/licenses/LICENSE-2.0
+
+
+
+
+ scm:git:https://github.com/open-feature/java-sdk.git
+ scm:git:https://github.com/open-feature/java-sdk.git
+ https://github.com/open-feature/java-sdk
+
+
-
-
-
-
- net.bytebuddy
- byte-buddy
- 1.15.11
- test
-
-
-
- net.bytebuddy
- byte-buddy-agent
- 1.15.11
- test
-
-
-
-
- io.cucumber
- cucumber-bom
- 7.20.1
- pom
- import
-
-
-
- org.junit
- junit-bom
- 5.11.4
- pom
- import
-
+
+ org.projectlombok
+ lombok
+ 1.18.36
+ provided
+
-
-
-
-
-
-
- org.cyclonedx
- cyclonedx-maven-plugin
- 2.9.1
-
- library
- 1.3
- true
- true
- true
- true
- true
- false
- false
- all
-
-
-
- package
-
- makeAggregateBom
-
-
-
-
-
-
- maven-dependency-plugin
- 3.8.1
-
-
- verify
-
- analyze
-
-
-
-
- true
-
- com.github.spotbugs:*
- org.junit*
- org.simplify4u:slf4j2-mock*
-
-
- com.google.guava*
- io.cucumber*
- org.junit*
- com.google.code.findbugs*
- com.github.spotbugs*
- org.simplify4u:slf4j-mock-common:*
-
-
-
-
-
- maven-compiler-plugin
- 3.13.0
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
- 3.5.2
-
-
- ${surefireArgLine}
-
-
-
- ${testExclusions}
-
-
-
-
-
- org.apache.maven.plugins
- maven-failsafe-plugin
- 3.5.2
-
-
- ${surefireArgLine}
-
-
-
-
-
- org.jacoco
- jacoco-maven-plugin
- 0.8.12
-
-
-
- prepare-agent
-
- prepare-agent
-
-
-
- ${project.build.directory}/coverage-reports/jacoco-ut.exec
- surefireArgLine
-
-
-
-
- report
- verify
-
- report
-
-
-
- ${project.build.directory}/coverage-reports/jacoco-ut.exec
- ${project.reporting.outputDirectory}/jacoco-ut
-
-
-
-
- jacoco-check
-
- check
-
-
- ${project.build.directory}/coverage-reports/jacoco-ut.exec
-
- dev/openfeature/sdk/exceptions/**
-
-
-
-
- PACKAGE
-
-
- LINE
- COVEREDRATIO
- 0.80
-
-
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
- 3.4.2
-
-
-
- ${module-name}
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-pmd-plugin
- 3.26.0
-
-
- run-pmd
- verify
-
- check
-
-
-
-
-
-
- com.github.spotbugs
- spotbugs-maven-plugin
- 4.8.6.6
-
- spotbugs-exclusions.xml
-
-
- com.h3xstream.findsecbugs
- findsecbugs-plugin
- 1.13.0
-
-
-
-
-
-
+
+
com.github.spotbugs
spotbugs
4.8.6
-
-
-
-
- run-spotbugs
- verify
-
- check
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- 3.6.0
-
- checkstyle.xml
- UTF-8
- true
- true
- false
-
+ provided
+
+
+
+ org.slf4j
+ slf4j-api
+ 2.0.16
+
+
+
+
+ org.mockito
+ mockito-core
+ 4.11.0
+ test
+
+
+
+ org.assertj
+ assertj-core
+ 3.27.0
+ test
+
+
+
+ org.junit.jupiter
+ junit-jupiter
+ ${junit.jupiter.version}
+ test
+
+
+
+ org.junit.jupiter
+ junit-jupiter-engine
+ ${junit.jupiter.version}
+ test
+
+
+
+ org.junit.jupiter
+ junit-jupiter-api
+ ${junit.jupiter.version}
+ test
+
+
+
+ org.junit.jupiter
+ junit-jupiter-params
+ ${junit.jupiter.version}
+ test
+
+
+
+ org.junit.platform
+ junit-platform-suite
+ 1.11.4
+ test
+
+
+
+ io.cucumber
+ cucumber-java
+ test
+
+
+
+ io.cucumber
+ cucumber-junit-platform-engine
+ test
+
+
+
+ org.simplify4u
+ slf4j2-mock
+ 2.4.0
+ test
+
+
+
+ com.google.guava
+ guava
+ 33.4.0-jre
+ test
+
+
+
+ org.awaitility
+ awaitility
+ 4.2.2
+ test
+
+
+
+ org.openjdk.jmh
+ jmh-core
+ 1.37
+ test
+
+
+
+
+
-
- com.puppycrawl.tools
- checkstyle
- 8.45.1
-
+
+
+
+
+
+ net.bytebuddy
+ byte-buddy
+ 1.15.11
+ test
+
+
+
+ net.bytebuddy
+ byte-buddy-agent
+ 1.15.11
+ test
+
+
+
+
+ io.cucumber
+ cucumber-bom
+ 7.20.1
+ pom
+ import
+
+
+
+ org.junit
+ junit-bom
+ 5.11.4
+ pom
+ import
+
+
-
-
- validate
- validate
-
- check
-
-
-
-
-
-
-
-
-
-
- deploy
-
- true
-
-
+
+
-
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.7.0
- true
-
- ossrh
- https://s01.oss.sonatype.org/
- true
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-source-plugin
- 3.3.1
-
-
- attach-sources
-
- jar-no-fork
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 3.11.2
-
- true
- all,-missing
-
-
-
- attach-javadocs
-
- jar
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 3.2.7
-
-
- sign-artifacts
- install
-
- sign
-
-
-
-
-
+
+ org.cyclonedx
+ cyclonedx-maven-plugin
+ 2.9.1
+
+ library
+ 1.3
+ true
+ true
+ true
+ true
+ true
+ false
+ false
+ all
+
+
+
+ package
+
+ makeAggregateBom
+
+
+
+
-
-
-
+
+ maven-dependency-plugin
+ 3.8.1
+
+
+ verify
+
+ analyze
+
+
+
+
+ true
+
+ com.github.spotbugs:*
+ org.junit*
+ org.simplify4u:slf4j2-mock*
+
+
+ com.google.guava*
+ io.cucumber*
+ org.junit*
+ com.google.code.findbugs*
+ com.github.spotbugs*
+ org.simplify4u:slf4j-mock-common:*
+
+
+
-
- benchmark
-
-
-
- pw.krejci
- jmh-maven-plugin
- 0.2.2
-
-
-
-
-
-
- e2e
-
-
-
-
-
-
-
-
- org.codehaus.mojo
- exec-maven-plugin
- 3.5.0
-
-
- update-test-harness-submodule
- validate
-
- exec
-
+
+ maven-compiler-plugin
+ 3.13.0
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.5.2
+
+
+ ${surefireArgLine}
+
+
+
+ ${testExclusions}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ 3.5.2
+
+
+ ${surefireArgLine}
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.12
+
+
+
+ prepare-agent
+
+ prepare-agent
+
+
+
+ ${project.build.directory}/coverage-reports/jacoco-ut.exec
+ surefireArgLine
+
+
+
+
+ report
+ verify
+
+ report
+
+
+
+ ${project.build.directory}/coverage-reports/jacoco-ut.exec
+ ${project.reporting.outputDirectory}/jacoco-ut
+
+
+
+
+ jacoco-check
+
+ check
+
+
+ ${project.build.directory}/coverage-reports/jacoco-ut.exec
+
+ dev/openfeature/sdk/exceptions/**
+
+
+
+
+ PACKAGE
+
+
+ LINE
+ COVEREDRATIO
+ 0.80
+
+
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.4.2
+
+
+
+ ${module-name}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-pmd-plugin
+ 3.26.0
+
+
+ run-pmd
+ verify
+
+ check
+
+
+
+
+
+
+ com.github.spotbugs
+ spotbugs-maven-plugin
+ 4.8.6.6
+
+ spotbugs-exclusions.xml
+
+
+ com.h3xstream.findsecbugs
+ findsecbugs-plugin
+ 1.13.0
+
+
+
+
+
+
+ com.github.spotbugs
+ spotbugs
+ 4.8.6
+
+
+
+
+ run-spotbugs
+ verify
+
+ check
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.6.0
-
- git
-
- submodule
- update
- --init
- spec
-
+ checkstyle.xml
+ UTF-8
+ true
+ true
+ false
-
-
- copy-evaluation-gherkin-tests
- validate
-
- exec
-
+
+
+ com.puppycrawl.tools
+ checkstyle
+ 9.3
+
+
+
+
+ validate
+ validate
+
+ check
+
+
+
+
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
-
- cp
-
- spec/specification/assets/gherkin/evaluation.feature
- src/test/resources/features/
-
+
+
+
+
+
+
+
+ .gitattributes
+ .gitignore
+
+
+
+
+
+ true
+ 4
+
+
+
+
+
+
+
+
+ true
+ 4
+
+
+
+
+
+
+
-
-
-
+
+
+
+ check
+
+
+
+
-
-
-
-
-
-
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
-
-
+
+
+
+
+
+ deploy
+
+ true
+
+
+
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.7.0
+ true
+
+ ossrh
+ https://s01.oss.sonatype.org/
+ true
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 3.3.1
+
+
+ attach-sources
+
+ jar-no-fork
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.11.2
+
+ true
+ all,-missing
+
+
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 3.2.7
+
+
+ sign-artifacts
+ install
+
+ sign
+
+
+
+
+
+
+
+
+
+
+ benchmark
+
+
+
+ pw.krejci
+ jmh-maven-plugin
+ 0.2.2
+
+
+
+
+
+
+ e2e
+
+
+
+
+
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.5.0
+
+
+ update-test-harness-submodule
+ validate
+
+ exec
+
+
+
+ git
+
+ submodule
+ update
+ --init
+ spec
+
+
+
+
+ copy-evaluation-gherkin-tests
+ validate
+
+ exec
+
+
+
+ cp
+
+ spec/specification/assets/gherkin/evaluation.feature
+ src/test/resources/features/
+
+
+
+
+
+
+
+
+
+
+
+
+ ossrh
+ https://s01.oss.sonatype.org/content/repositories/snapshots
+
+
diff --git a/src/main/java/dev/openfeature/sdk/AbstractStructure.java b/src/main/java/dev/openfeature/sdk/AbstractStructure.java
index 86fdde41..6c652114 100644
--- a/src/main/java/dev/openfeature/sdk/AbstractStructure.java
+++ b/src/main/java/dev/openfeature/sdk/AbstractStructure.java
@@ -1,10 +1,10 @@
package dev.openfeature.sdk;
+import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
-import java.util.Collections;
-@SuppressWarnings({ "PMD.BeanMembersShouldSerialize", "checkstyle:MissingJavadocType" })
+@SuppressWarnings({"PMD.BeanMembersShouldSerialize", "checkstyle:MissingJavadocType"})
abstract class AbstractStructure implements Structure {
protected final Map attributes;
@@ -24,6 +24,7 @@ public boolean isEmpty() {
/**
* Returns an unmodifiable representation of the internal attribute map.
+ *
* @return immutable map
*/
public Map asUnmodifiableMap() {
@@ -37,14 +38,12 @@ public Map asUnmodifiableMap() {
*/
@Override
public Map asObjectMap() {
- return attributes
- .entrySet()
- .stream()
+ return attributes.entrySet().stream()
// custom collector, workaround for Collectors.toMap in JDK8
// https://bugs.openjdk.org/browse/JDK-8148463
- .collect(HashMap::new,
+ .collect(
+ HashMap::new,
(accumulated, entry) -> accumulated.put(entry.getKey(), convertValue(entry.getValue())),
HashMap::putAll);
}
-
}
diff --git a/src/main/java/dev/openfeature/sdk/BaseEvaluation.java b/src/main/java/dev/openfeature/sdk/BaseEvaluation.java
index ed6e9351..d4209d9b 100644
--- a/src/main/java/dev/openfeature/sdk/BaseEvaluation.java
+++ b/src/main/java/dev/openfeature/sdk/BaseEvaluation.java
@@ -2,29 +2,34 @@
/**
* This is a common interface between the evaluation results that providers return and what is given to the end users.
+ *
* @param The type of flag being evaluated.
*/
public interface BaseEvaluation {
/**
* Returns the resolved value of the evaluation.
+ *
* @return {T} the resolve value
*/
T getValue();
/**
* Returns an identifier for this value, if applicable.
+ *
* @return {String} value identifier
*/
String getVariant();
/**
* Describes how we came to the value that we're returning.
+ *
* @return {Reason}
*/
String getReason();
/**
* The error code, if applicable. Should only be set when the Reason is ERROR.
+ *
* @return {ErrorCode}
*/
ErrorCode getErrorCode();
@@ -32,6 +37,7 @@ public interface BaseEvaluation {
/**
* The error message (usually from exception.getMessage()), if applicable.
* Should only be set when the Reason is ERROR.
+ *
* @return {String}
*/
String getErrorMessage();
diff --git a/src/main/java/dev/openfeature/sdk/BooleanHook.java b/src/main/java/dev/openfeature/sdk/BooleanHook.java
index e9277766..3c178ca5 100644
--- a/src/main/java/dev/openfeature/sdk/BooleanHook.java
+++ b/src/main/java/dev/openfeature/sdk/BooleanHook.java
@@ -3,7 +3,7 @@
/**
* An extension point which can run around flag resolution. They are intended to be used as a way to add custom logic
* to the lifecycle of flag evaluation.
- *
+ *
* @see Hook
*/
public interface BooleanHook extends Hook {
diff --git a/src/main/java/dev/openfeature/sdk/DoubleHook.java b/src/main/java/dev/openfeature/sdk/DoubleHook.java
index 3ccf88b1..70d17b37 100644
--- a/src/main/java/dev/openfeature/sdk/DoubleHook.java
+++ b/src/main/java/dev/openfeature/sdk/DoubleHook.java
@@ -3,7 +3,7 @@
/**
* An extension point which can run around flag resolution. They are intended to be used as a way to add custom logic
* to the lifecycle of flag evaluation.
- *
+ *
* @see Hook
*/
public interface DoubleHook extends Hook {
@@ -12,4 +12,4 @@ public interface DoubleHook extends Hook {
default boolean supportsFlagValueType(FlagValueType flagValueType) {
return FlagValueType.DOUBLE == flagValueType;
}
-}
\ No newline at end of file
+}
diff --git a/src/main/java/dev/openfeature/sdk/ErrorCode.java b/src/main/java/dev/openfeature/sdk/ErrorCode.java
index 00451bdf..cb5798f3 100644
--- a/src/main/java/dev/openfeature/sdk/ErrorCode.java
+++ b/src/main/java/dev/openfeature/sdk/ErrorCode.java
@@ -2,6 +2,12 @@
@SuppressWarnings("checkstyle:MissingJavadocType")
public enum ErrorCode {
- PROVIDER_NOT_READY, FLAG_NOT_FOUND, PARSE_ERROR, TYPE_MISMATCH, TARGETING_KEY_MISSING, INVALID_CONTEXT, GENERAL,
+ PROVIDER_NOT_READY,
+ FLAG_NOT_FOUND,
+ PARSE_ERROR,
+ TYPE_MISMATCH,
+ TARGETING_KEY_MISSING,
+ INVALID_CONTEXT,
+ GENERAL,
PROVIDER_FATAL
}
diff --git a/src/main/java/dev/openfeature/sdk/EvaluationContext.java b/src/main/java/dev/openfeature/sdk/EvaluationContext.java
index 5b2a3311..84760c0d 100644
--- a/src/main/java/dev/openfeature/sdk/EvaluationContext.java
+++ b/src/main/java/dev/openfeature/sdk/EvaluationContext.java
@@ -28,12 +28,13 @@ public interface EvaluationContext extends Structure {
* Recursively merges the overriding map into the base Value map.
* The base map is mutated, the overriding map is not.
* Null maps will cause no-op.
- *
+ *
* @param newStructure function to create the right structure(s) for Values
- * @param base base map to merge
- * @param overriding overriding map to merge
+ * @param base base map to merge
+ * @param overriding overriding map to merge
*/
- static void mergeMaps(Function