Eliminate redundant code
Eliminate redundant code

Co-authored-by: Stéphane Brunner <17c80816e74b5674bf9a5c20e537bd659d5a71de@camptocamp.com>
bjornharrtell/ol3,stweil/openlayers,adube/ol3,openlayers/openlayers,ahocevar/openlayers,stweil/openlayers,stweil/ol3,bjornharrtell/ol3,oterral/ol3,ahocevar/openlayers,stweil/ol3,adube/ol3,adube/ol3,stweil/ol3,stweil/openlayers,oterral/ol3,stweil/ol3,ahocevar/ol3,bjornharrtell/ol3,openlayers/openlayers,openlayers/openlayers,ahocevar/ol3,ahocevar/openlayers,ahocevar/ol3,ahocevar/ol3,oterral/ol3