private void addPartNumberIfNotNull ( Request < ? > request , Integer partNumber ) { if ( partNumber != null ) { request . addParameter ( "partNumber" , partNumber . toString ( ) ) ; } }
Adds the part number to the specified request if partNumber is not null .