Skip to main content
Lars Opitz
Passionate Software Craftsperson | Seasoned Agile Leader @ eBay
View all authors

Proper solutions for error “java release version 5 not supported”

· 5 min read
Lars Opitz
Passionate Software Craftsperson | Seasoned Agile Leader @ eBay

This article is meant as an extension to Angie Jones’ “IntelliJ – Error:java: release version 5 not supported.”

In her article, Angie suggests solutions to IntelliJ IDEA showing the error message “release version 5 not supported.” The first two options work within IDEA, but are not sustainable as you will learn later. The last option tackles the actual problem, but only for Maven based builds.

Clean Streaming Code

· 3 min read
Lars Opitz
Passionate Software Craftsperson | Seasoned Agile Leader @ eBay

water flowing out a pipe

Streaming is an awesome tool. It helps to separate concerns (e.g., iteration, filtering, execution), to avoid state and thus improves thread safety. Additionally, we can express the same functionality with less code. But it’s hard to read and to test.

Really?

Getting Rid of Nasty Parameters

· 6 min read
Lars Opitz
Passionate Software Craftsperson | Seasoned Agile Leader @ eBay

I bet you’ve seen code like this when your IDE auto-completed a function call in your code and there’s no source code or Javadoc found:

EmailSender.class
emailSender.sendEmail(String arg1, 
InternetAddress arg2, InternetAddress arg3, InternetAddress arg4,
String arg5, String arg6, List<EmailAttachment> arg7);

PMD will annotate this code as a violation of the rule "Getting Rid of Nasty Parameters."