Day 20: Some previous post had optional.get() in them which is not a best practice if its not with Optional.isPresent(). better than isPresent is to use orElse(), orElseGet(), orElseThrow()

Some previous post had optional.get() in them which is not a best practice if its not with Optional.isPresent(). better than isPresent is to use orElse(), orElseGet(), orElseThrow()

August 20, 2021 · 1 min

Day 19: Stream.peek to get debug information and log it.

Stream.peek to get debug information and log it.

August 17, 2021 · 1 min

Day 18: using Scanner.findAll to get all the download links from a json file.

using Scanner.findAll to get all the download links from a json file.

August 13, 2021 · 1 min

Day 17: Unicode decoding side effect. Application throws exception when a comment is removed.

Unicode decoding side effect. Application throws exception when a comment is removed.

August 6, 2021 · 1 min

Day 16: Two interface having same signature default method causing to override them.

Two interface having same signature default method causing to override them.

August 3, 2021 · 1 min