Skip to content

Commit 2b38341

Browse files
#139: loadQuartzProperties getProperty replaced with get (#140)
1 parent ae0ed77 commit 2b38341

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/main/groovy/quartz/QuartzGrailsPlugin.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ Adds Quartz job scheduling features
155155
*/
156156
def loadQuartzProperties() {
157157
Properties quartzProperties = new Properties()
158-
if (config.getProperty('quartz')) {
158+
if (config.get('quartz')) {
159159
// Convert to a properties file adding a prefix to each property
160160
ConfigObject configObject = new ConfigObject()
161-
configObject.putAll(config.getProperty('quartz') ?: [:])
161+
configObject.putAll(config.get('quartz') ?: [:])
162162
quartzProperties << configObject.toProperties('org.quartz')
163163
}
164164
quartzProperties

0 commit comments

Comments
 (0)