With reference to frontal precipitation, consider the following statements:
1. Precipitation associated with a warm front is of long duration.
2. Heavy but short duration precipitation occurs because of stationary front.
Which of the above statement(s) is/are correct?