Polishing
This commit is contained in:
@@ -256,7 +256,7 @@ public class CronTriggerFactoryBean implements FactoryBean<CronTrigger>, BeanNam
|
||||
this.cronTrigger = cti;
|
||||
*/
|
||||
|
||||
Class cronTriggerClass;
|
||||
Class<?> cronTriggerClass;
|
||||
Method jobKeyMethod;
|
||||
try {
|
||||
cronTriggerClass = getClass().getClassLoader().loadClass("org.quartz.impl.triggers.CronTriggerImpl");
|
||||
|
||||
@@ -35,7 +35,6 @@ public class GroovyAspectTests {
|
||||
|
||||
@Test
|
||||
public void testManualGroovyBeanWithUnconditionalPointcut() throws Exception {
|
||||
|
||||
LogUserAdvice logAdvice = new LogUserAdvice();
|
||||
|
||||
GroovyScriptFactory scriptFactory = new GroovyScriptFactory("GroovyServiceImpl.grv");
|
||||
@@ -43,7 +42,6 @@ public class GroovyAspectTests {
|
||||
new ClassPathResource("GroovyServiceImpl.grv", getClass())));
|
||||
|
||||
testAdvice(new DefaultPointcutAdvisor(logAdvice), logAdvice, target, "GroovyServiceImpl");
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -61,7 +59,6 @@ public class GroovyAspectTests {
|
||||
|
||||
@Test
|
||||
public void testManualGroovyBeanWithDynamicPointcut() throws Exception {
|
||||
|
||||
LogUserAdvice logAdvice = new LogUserAdvice();
|
||||
|
||||
GroovyScriptFactory scriptFactory = new GroovyScriptFactory("GroovyServiceImpl.grv");
|
||||
@@ -76,7 +73,6 @@ public class GroovyAspectTests {
|
||||
|
||||
@Test
|
||||
public void testManualGroovyBeanWithDynamicPointcutProxyTargetClass() throws Exception {
|
||||
|
||||
LogUserAdvice logAdvice = new LogUserAdvice();
|
||||
|
||||
GroovyScriptFactory scriptFactory = new GroovyScriptFactory("GroovyServiceImpl.grv");
|
||||
@@ -91,6 +87,7 @@ public class GroovyAspectTests {
|
||||
|
||||
private void testAdvice(Advisor advisor, LogUserAdvice logAdvice, TestService target, String message)
|
||||
throws Exception {
|
||||
|
||||
testAdvice(advisor, logAdvice, target, message, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user