removed calls to deprecated Props constructor in java code