Skip to content

Commit

Permalink
Merge pull request #566 from mivek/fix/calm_wind
Browse files Browse the repository at this point in the history
Fix/calm wind
mivek authored Jan 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 1423f85 + 0fa9643 commit c9806ce
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jars

2 changes: 1 addition & 1 deletion .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ jobs:
ref: ${{ github.event.inputs.tag }}

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jars

Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
*/
public final class WindCommand implements BaseWindCommand {
/** Pattern regex for wind. */
private static final Pattern WIND_REGEX = Pattern.compile("^(VRB|00|[0-3]\\d{2})(\\d{2})G?(\\d{2,3})?(KT|MPS|KM/H)?");
private static final Pattern WIND_REGEX = Pattern.compile("^(VRB|000|[0-3]\\d{2})(\\d{2})G?(\\d{2,3})?(KT|MPS|KM/H)?");

/**
* Package private constructor.
Original file line number Diff line number Diff line change
@@ -454,7 +454,7 @@ void testParseRunwayDeposit() {

@Test
void testParsWithLowWind() {
String code = "KATW 022045Z 0000KT 10SM SCT120 00/M08 A2996";
String code = "KATW 022045Z 00000KT 10SM SCT120 00/M08 A2996";

Metar m = parser.parse(code);
assertEquals("KATW", m.getStation());
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -51,24 +51,24 @@
<jacoco.coverage.branch.minimum>0.96</jacoco.coverage.branch.minimum>
<jacoco.coverage.complexity.minimum>0.97</jacoco.coverage.complexity.minimum>
<archunit-junit5.version>1.2.1</archunit-junit5.version>
<checkstyle.version>10.12.6</checkstyle.version>
<checkstyle.version>10.12.7</checkstyle.version>
<commons-lang3.version>3.14.0</commons-lang3.version>
<hamcrest.version>2.2</hamcrest.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
<junit.version>5.10.1</junit.version>
<maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version>
<maven-compiler-plugin.version>3.12.0</maven-compiler-plugin.version>
<maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
<maven.gpg.plugin.version>3.1.0</maven.gpg.plugin.version>
<maven.javadoc.plugin.version>3.6.3</maven.javadoc.plugin.version>
<maven-project-info-reports-plugin.version>3.5.0</maven-project-info-reports-plugin.version>
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
<maven.source.plugin.version>3.3.0</maven.source.plugin.version>
<maven-surefire-plugin.version>3.2.3</maven-surefire-plugin.version>
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<commons-csv.version>1.10.0</commons-csv.version>
<pitest-junit5-plugin.version>1.2.1</pitest-junit5-plugin.version>
<pitest-maven.version>1.15.3</pitest-maven.version>
<slf4j-nop.version>2.0.9</slf4j-nop.version>
<slf4j-nop.version>2.0.11</slf4j-nop.version>
<spotbugs-maven-plugin.version>4.8.2.0</spotbugs-maven-plugin.version>
<sonar.organization>mivek-github</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>

0 comments on commit c9806ce

Please sign in to comment.