Changed deprecated call to setInline to setLocality.
Merge pull request #126 from PramodSSImmaneni/master

Changed deprecated call to setInline to setLocality.