File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-context-support/src/main/java/org/springframework/scheduling/quartz Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
51
51
* <p>For concrete usage, check out the {@link SchedulerFactoryBean} and
52
52
* {@link SchedulerAccessorBean} classes.
53
53
*
54
- * <p>Compatible with Quartz 1.5+ as well as Quartz 2.0/2.1 , as of Spring 3.1 .
54
+ * <p>Compatible with Quartz 1.5+ as well as Quartz 2.0-2.2 , as of Spring 3.2 .
55
55
*
56
56
* @author Juergen Hoeller
57
57
* @since 2.5.6
@@ -397,7 +397,7 @@ private JobDetail findJobDetail(Trigger trigger) {
397
397
else {
398
398
try {
399
399
Map jobDataMap = (Map ) ReflectionUtils .invokeMethod (Trigger .class .getMethod ("getJobDataMap" ), trigger );
400
- return (JobDetail ) jobDataMap .get (JobDetailAwareTrigger .JOB_DETAIL_KEY );
400
+ return (JobDetail ) jobDataMap .remove (JobDetailAwareTrigger .JOB_DETAIL_KEY );
401
401
}
402
402
catch (NoSuchMethodException ex ) {
403
403
throw new IllegalStateException ("Inconsistent Quartz API: " + ex );
You can’t perform that action at this time.
0 commit comments