Nick roux and naomi scott dating validating input in java