Well I would be pretty worried if I knew that my battery charger would electrocute me if I "accidentally" touch one of the very exposed terminals while plugging the battery in, and at the same time maybe accidentally having contact with something grounded like a lamp or whatever. Also, I don't actually know what would happen, but I wouldn't want to plug in a lithium ion battery to the mains directly.
Maybe you where sarcastic and I didn't notice, sorry if that's the case!
No, I'm being completely serious. For you to be
electrocuted, you would need to be simultaneously touching one of the terminals (the cutouts on the sides are there so you don't have to do so to remove cells from it), a good ground,
and there would have to be a transient on the mains (that
wasn't already absorbed by a MOV somewhere...) big enough to arc across the gap and pass enough current through you to kill. What's the probability of all those occurring at the same time? The risk has to be put into perspective. People do far,
far riskier things, and the mortality rates are there to prove it. I hear of deaths in car accidents almost every day in the news, for example. On the other hand, it's quite likely that numerous chargers like this are in use without any problems.
With some of those really dodgy TrustFire cells?
UltraFire is the one to watch out for...
As for that AC adapter, I'm guessing they put the trace and provision for C7 there to stop EMI at the last moment, but realised that the SMD cap wouldn't withstand the voltage of a hi-pot test so didn't populate it. The risk of using that will be higher than the battery charger since it is usually plugged into a device you are in constant contact with, like a laptop.