This is a little bit twisted.
I'd prefer an explicit check: minTimestamp = (timestampMatcher.group(1) == null) ? 0 : Long.parseLong(timestampMatcher.group(1));