code\comments cleanup. fixed possible bug

https://groups.google.com/forum/?fromgroups=#!searchin/orient-database/jpa/orient-database/2Kuh3y4QOSE/hzahI2ccywcJ
solution copypasted from
org.apache.aries.jpa.container.parsing.impl.PersistenceDescriptorParserImpl