Refactoring: simplify getExtension computation
Refactoring: simplify getExtension computation

vishwakulkarni/cgeo,brok85/cgeo,schwabe/cgeo,S-Bartfast/cgeo,tobiasge/cgeo,samueltardieu/cgeo,ThibaultR/cgeo,ThibaultR/cgeo,ThibaultR/cgeo,cgeo/cgeo,brok85/cgeo,vishwakulkarni/cgeo,mucek4/cgeo,xiaoyanit/cgeo,xiaoyanit/cgeo,matej116/cgeo,auricgoldfinger/cgeo,samueltardieu/cgeo,xiaoyanit/cgeo,schwabe/cgeo,pstorch/cgeo,pstorch/cgeo,S-Bartfast/cgeo,matej116/cgeo,superspindel/cgeo,kumy/cgeo,kumy/cgeo,yummy222/cgeo,kumy/cgeo,SammysHP/cgeo,KublaikhanGeek/cgeo,pstorch/cgeo,yummy222/cgeo,schwabe/cgeo,superspindel/cgeo,yummy222/cgeo,superspindel/cgeo,mucek4/cgeo,rsudev/c-geo-opensource,Bananeweizen/cgeo,tobiasge/cgeo,Bananeweizen/cgeo,cgeo/cgeo,auricgoldfinger/cgeo,SammysHP/cgeo,tobiasge/cgeo,mucek4/cgeo,KublaikhanGeek/cgeo,auricgoldfinger/cgeo,brok85/cgeo,Huertix/cgeo,rsudev/c-geo-opensource,S-Bartfast/cgeo,madankb/cgeo,madankb/cgeo,cgeo/cgeo,rsudev/c-geo-opensource,matej116/cgeo,cgeo/cgeo,Bananeweizen/cgeo,marco-dev/c-geo-opensource,KublaikhanGeek/cgeo,Huertix/cgeo,SammysHP/cgeo,schwabe/cgeo,madankb/cgeo,marco-dev/c-geo-opensource,lewurm/cgeo,samueltardieu/cgeo,marco-dev/c-geo-opensource,vishwakulkarni/cgeo,lewurm/cgeo,lewurm/cgeo,Huertix/cgeo