Skip to content

Commit

Permalink
#139: loadQuartzProperties getProperty replaced with get
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelabautista committed Jan 9, 2025
1 parent ae0ed77 commit 9714327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/groovy/quartz/QuartzGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ Adds Quartz job scheduling features
*/
def loadQuartzProperties() {
Properties quartzProperties = new Properties()
if (config.getProperty('quartz')) {
if (config.get('quartz')) {
// Convert to a properties file adding a prefix to each property
ConfigObject configObject = new ConfigObject()
configObject.putAll(config.getProperty('quartz') ?: [:])
configObject.putAll(config.get('quartz') ?: [:])
quartzProperties << configObject.toProperties('org.quartz')
}
quartzProperties
Expand Down

0 comments on commit 9714327

Please sign in to comment.