No, it didn't. It still had a considarable length of common border with the russian province Finland in Lappland. (To be honest, that was my first reaction too, but as the GP wrote, Sweden stopped to have a border with russia only after Finland became independent in WW1).