How to Check for Empty String in Java

Not suprisingly most programming languages handle this check the same way. You have to check for null first to avoid a NullPointerException.

»
Author's profile picture James Schmidt on Java

Creating an Application with Spring Boot

Spring Boot

»
Author's profile picture James Schmidt on Spring and Java

Declaring Constants in Java

Java has the worst syntax for declaring a constant that I’ve ever seen. Here it is so I can remember it. At least in the Java programming culture we have the sense to declare the names in ALL_CAPS.

»
Author's profile picture James Schmidt on Java

Install Java on macOS

Java

»
Author's profile picture James Schmidt on Java and macOS

Multiplicty in macOS

Besides Multiplicity being a great film, you can launch multiple instances of any application in macOS. Open the Terminal app and run the following (replacing Safari.app with any app of your choosing). I do this often for the Eclipse IDE or the Spring Tool Suite.

»
Author's profile picture James Schmidt on macOS

Reset DNS Cache

It seems I do this a few times a month and I always have to look it up. Leaving myself a note for later.

»
Author's profile picture James Schmidt on macOS

Hello World

puts "Hello World"
»
Author's profile picture James Schmidt on General