code: public static String[] nullifyBadInput(String[] input)
      {
          if (input != null)
          {
              if (input.length > 0)
              {
                  return input;
              }
          }
          return null;
      }
docs: Returns a valid string array or null, if empty
  
  @param input original string array
  @return resultant string array