8df273 Reduce code duplication by creating a couple of utility methods

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Reduce code duplication by creating a couple of utility methods
    
        
file modified
+32 -30