Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/brenoepics/at4j
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed Jan 31, 2024
2 parents 99f2b8d + a98a4da commit ad5ddab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,20 @@ name: Java CI with Maven

on:
push:
branches: [ "main", "dev" ]
branches: [ "main" ]
paths:
- 'src/**'
pull_request:
branches: [ "main", "dev" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ public enum RestRequestHttpResponseCode {
InternalServerErrorException.class),

/** There was a service unavailable while processing your request. */
SERVICE_UNAVAILABLE(503, "There was a service unavailable while processing your request",
ServiceUnavailableException::new,
ServiceUnavailableException.class);
SERVICE_UNAVAILABLE(
503,
"There was a service unavailable while processing your request",
ServiceUnavailableException::new,
ServiceUnavailableException.class);

/** A map for retrieving the enum instances by code. */
private static final Map<Integer, RestRequestHttpResponseCode> instanceByCode;
Expand Down

0 comments on commit ad5ddab

Please sign in to comment.