Skip to content

Commit

Permalink
Merge pull request #1393 from eed3si9n/bport/zip_error
Browse files Browse the repository at this point in the history
[1.x] Avoid using ZipError
  • Loading branch information
eed3si9n authored Sep 7, 2024
2 parents 6c5a3c7 + ac211dc commit 574dd92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,19 @@ jobs:
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Shapeless.*" "runBenchmarks"
- name: Checkout Develop Branch (4, 5)
- name: Checkout 1.10.x Branch (4, 5)
if: ${{ github.event_name == 'pull_request' && (matrix.jobtype == 4 || matrix.jobtype == 5) }}
uses: actions/checkout@v4
with:
clean: false
ref: develop
- name: Benchmark (Scalac) against Develop Branch (4)
ref: 1.10.x
- name: Benchmark (Scalac) against 1.10.x Branch (4)
if: ${{ github.event_name == 'pull_request' && matrix.jobtype == 4 }}
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Scalac.*" "zincBenchmarks/jmh:clean" "runBenchmarks"
- name: Benchmark (Shapeless) against Develop Branch (5)
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Scalac.*" "zincBenchmarks/Jmh/clean" "runBenchmarks"
- name: Benchmark (Shapeless) against 1.10.x Branch (5)
if: ${{ github.event_name == 'pull_request' && matrix.jobtype == 5 }}
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Shapeless.*" "zincBenchmarks/jmh:clean" "runBenchmarks"
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Shapeless.*" "zincBenchmarks/Jmh/clean" "runBenchmarks"
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ public int hashCode() {
IndexNode child; // 1st child
}

private static void zerror(String msg) {
throw new ZipError(msg);
private static void zerror(String msg) throws ZipException {
throw new ZipException(msg);
}

private void buildNodeTree() {
Expand Down

0 comments on commit 574dd92

Please sign in to comment.