removed calls to deprecated Props constructor in java code
fixed indentation
Merge pull request #1394 from drexin/wip-drexin-remove-deprecated-props-calls-java

removed calls to deprecated Props constructor in java code