setting a pin high the 2nd time

Does it hurt anything to do this:
digitalWrite(SolenoidPin, HIGH); //turn on the water valve
...if the pin was already high?

Not at all, it would not change anything.