Skip to content

Fixed airport code. - #1243

Merged
kingthorin merged 3 commits into
mainfrom
fix-airport
Jun 1, 2024
Merged

kingthorin merged 3 commits into
mainfrom
fix-airport

Conversation

@bodiam

@bodiam bodiam commented Jun 1, 2024

Copy link
Copy Markdown
Contributor

Hi all,

I don't think the fix here is correct: #1241. While N55 might be a valid airport code, it's not a valid ICAO code, which is what the method returns:

    /**
     * Returns an airport ICAO code.
     * See also: <a href="https://en.wikipedia.org/wiki/List_of_airports_by_ICAO_code:_A">https://en.wikipedia.org/wiki/List_of_airports_by_ICAO_code:_A</a>
     */
    public String airport() {
        return resolve("aviation.airport");
    }
image

@kingthorin kingthorin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sorry I didn't dig far enough.

@kingthorin
kingthorin merged commit 6cd3250 into main Jun 1, 2024
@kingthorin
kingthorin deleted the fix-airport branch June 1, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants