No, there is no customs or border check. You won't even know that you have crossed the border unless you happen to notice that station signs are in a different language. If you are travelling entirely within the EU you won't have your passports checked and consequently won't have them collected.