Skip to main content
Rollback to Revision 3
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

Also thanks for all the feedback! I've added bits and pieces of everyone's suggestions.

Also thanks for all the feedback! I've added bits and pieces of everyone's suggestions.

added 91 characters in body
Source Link
IbrahimMitko
  • 671
  • 3
  • 7
  • 13

Also thanks for all the feedback! I've added bits and pieces of everyone's suggestions.

Also thanks for all the feedback! I've added bits and pieces of everyone's suggestions.

added 236 characters in body
Source Link
IbrahimMitko
  • 671
  • 3
  • 7
  • 13

**Note: These lines are to ensure a different case to handle a null vs empty string

if(pass1.length() < 1 || pass2.length() < 1 )retVal.append("Empty fields <br>");

        if (pass1 != null && pass2 != null) {

**Note: These lines are to ensure a different case to handle a null vs empty string

if(pass1.length() < 1 || pass2.length() < 1 )retVal.append("Empty fields <br>");

        if (pass1 != null && pass2 != null) {
Tweeted twitter.com/#!/StackCodeReview/status/512801801825820673
deleted 9 characters in body; edited tags
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238
Loading
Source Link
IbrahimMitko
  • 671
  • 3
  • 7
  • 13
Loading