(String).isEmpty [1] public boolean isEmpty()
空文字か調べます。length()が0の場合にのみ true を返します。
if (s1.isEmpty()) { System.out.println("Please type something..."); }