Skip to content

Commit c73e529

Browse files
authored
Merge branch 'main' into spec-compliance-tooling
2 parents 513573a + 00478ec commit c73e529

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

.github/workflows/merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: mvn --batch-mode --update-snapshots verify
5050

5151
- name: Upload coverage to Codecov
52-
uses: codecov/codecov-action@v4.3.1
52+
uses: codecov/codecov-action@v4.4.0
5353
with:
5454
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
5555
flags: unittests # optional

.github/workflows/pullrequest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache: maven
2121

2222
- name: Initialize CodeQL
23-
uses: github/codeql-action/init@7fd4900b29c9865d61ace089788ac5c913cb730b
23+
uses: github/codeql-action/init@0d9161ca1ca47cada43d1520c3ee53b96d4c31b3
2424
with:
2525
languages: java
2626

@@ -36,7 +36,7 @@ jobs:
3636
run: mvn --batch-mode --update-snapshots --activate-profiles e2e verify
3737

3838
- name: Upload coverage to Codecov
39-
uses: codecov/codecov-action@v4.3.1
39+
uses: codecov/codecov-action@v4.4.0
4040
with:
4141
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
4242
flags: unittests # optional
@@ -45,4 +45,4 @@ jobs:
4545
verbose: true # optional (default = false)
4646

4747
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@7fd4900b29c9865d61ace089788ac5c913cb730b
48+
uses: github/codeql-action/analyze@0d9161ca1ca47cada43d1520c3ee53b96d4c31b3

.github/workflows/static-code-scanning.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333

3434
# Initializes the CodeQL tools for scanning.
3535
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@7fd4900b29c9865d61ace089788ac5c913cb730b
36+
uses: github/codeql-action/init@0d9161ca1ca47cada43d1520c3ee53b96d4c31b3
3737
with:
3838
languages: java
3939

4040
- name: Autobuild
41-
uses: github/codeql-action/autobuild@7fd4900b29c9865d61ace089788ac5c913cb730b
41+
uses: github/codeql-action/autobuild@0d9161ca1ca47cada43d1520c3ee53b96d4c31b3
4242

4343
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@7fd4900b29c9865d61ace089788ac5c913cb730b
44+
uses: github/codeql-action/analyze@0d9161ca1ca47cada43d1520c3ee53b96d4c31b3

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
<plugin>
335335
<groupId>org.apache.maven.plugins</groupId>
336336
<artifactId>maven-pmd-plugin</artifactId>
337-
<version>3.21.2</version>
337+
<version>3.22.0</version>
338338
<executions>
339339
<execution>
340340
<id>run-pmd</id>

src/main/java/dev/openfeature/sdk/EventDetails.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ public class EventDetails extends ProviderEventDetails {
1313
private String providerName;
1414

1515
static EventDetails fromProviderEventDetails(ProviderEventDetails providerEventDetails, String providerName) {
16-
return EventDetails.fromProviderEventDetails(providerEventDetails, providerName, null);
16+
return fromProviderEventDetails(providerEventDetails, providerName, null);
1717
}
1818

1919
static EventDetails fromProviderEventDetails(
2020
ProviderEventDetails providerEventDetails,
2121
String providerName,
2222
String clientName) {
23-
return EventDetails.builder()
23+
return builder()
2424
.clientName(clientName)
2525
.providerName(providerName)
2626
.flagsChanged(providerEventDetails.getFlagsChanged())

src/main/java/dev/openfeature/sdk/OpenFeatureAPI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Configuration here will be shared across all {@link Client}s.
1919
*/
2020
@Slf4j
21+
@SuppressWarnings("PMD.UnusedLocalVariable")
2122
public class OpenFeatureAPI implements EventBus<OpenFeatureAPI> {
2223
// package-private multi-read/single-write lock
2324
static AutoCloseableReentrantReadWriteLock lock = new AutoCloseableReentrantReadWriteLock();

src/main/java/dev/openfeature/sdk/OpenFeatureClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
* {@inheritDoc}
2020
*/
2121
@Slf4j
22-
@SuppressWarnings({ "PMD.DataflowAnomalyAnalysis", "PMD.BeanMembersShouldSerialize", "unchecked", "rawtypes" })
22+
@SuppressWarnings({ "PMD.DataflowAnomalyAnalysis", "PMD.BeanMembersShouldSerialize",
23+
"PMD.UnusedLocalVariable", "unchecked", "rawtypes" })
2324
public class OpenFeatureClient implements Client {
2425

2526
private final OpenFeatureAPI openfeatureApi;

0 commit comments

Comments
 (0)