Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated mail-validation, added new features #48

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

storbukas
Copy link
Contributor

Refactored mail-validation

Added new features, with new lookup-properties:

  • Kommunenavn (Norwegian municipality name)
  • Kommunenummer (Norwegian Municipalioty code)
  • Postnummer kategori (Norwegian postal area category)

Updated postal data valid from 01.10.2020

Refactored mail-validation

Added new features, with new lookup-properties:
  - Kommunenavn (Norwegian municipality name)
  - Kommunenummer (Norwegian Municipalioty code)
  - Postnummer kategori (Norwegian postal area category)

Updated postal data valid from 01.10.2020
Copy link
Member

@eivinhb eivinhb left a comment

Choose a reason for hiding this comment

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

Veldig kult at du tar tak i dette‼️

Jeg skal se om jeg kan få bygget til å kjøre for PR-en.


Map<Postnummer, PostInfo> postInfo = new HashMap<>();

InputStreamReader isr = new InputStreamReader(is, StandardCharsets.UTF_8);
Copy link
Member

Choose a reason for hiding this comment

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

Siden du allerede plukker i dette, om du hadde giddet å legge dette inn i en try with resource? Mye av dette er vel helt fra java 5/6..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Jepp, skal få lagt inn det 👍

@storbukas
Copy link
Contributor Author

Sånn, da har jeg lagt inn try-with-resource 🤠

@eivinhb
Copy link
Member

eivinhb commented Feb 11, 2021

Veldig kult! Jeg antar at du ønsker å ha ut en release? Jeg kan fikse det ganske raskt. Det tar noen timer før det er i maven central.

@storbukas
Copy link
Contributor Author

Så gøy! Ingen hast for min del, så om du vil ha med noe annet før ny release er det bare å vente på det 😄

@eivinhb eivinhb merged commit 3e9a189 into bekkopen:master Feb 11, 2021
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