From 737c9a58bcea18ac92ef1b742fdc39cc98384f5b Mon Sep 17 00:00:00 2001 From: Reynold Morel Date: Wed, 25 Sep 2024 15:37:49 -0400 Subject: [PATCH] DROP: testing file --- .github/workflows/code_quality_check.yml | 8 ++++++-- .../main/java/co/rsk/config/GarbageCollectorConfig.java | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_quality_check.yml b/.github/workflows/code_quality_check.yml index 79a580d338e..b8ad09b5d0d 100644 --- a/.github/workflows/code_quality_check.yml +++ b/.github/workflows/code_quality_check.yml @@ -1,4 +1,4 @@ -name: Code Convention Verification +name: Code Quality Check on: push: @@ -14,7 +14,11 @@ jobs: checkstyle-and-spotless: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout branch + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} # Checkout the branch of the pull request + fetch-depth: 0 - name: Setup Java & Gradle uses: actions/setup-java@v4 diff --git a/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java b/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java index 518ec63dd13..131244724d8 100644 --- a/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java +++ b/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java @@ -28,6 +28,9 @@ public class GarbageCollectorConfig { private final int blocksPerEpoch; private final int numberOfEpochs; + + //asdasdasdsdsd + public GarbageCollectorConfig(boolean enabled, int blocksPerEpoch, int numberOfEpochs) { this.enabled = enabled; this.blocksPerEpoch = blocksPerEpoch;