Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Jan 17, 2024
1 parent 699da7c commit f5b0d95
Show file tree
Hide file tree
Showing 45 changed files with 373 additions and 411 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,11 +23,10 @@
/**
* @author Adrian Colyer
*/
public class AutoProxyWithCodeStyleAspectsTests {
class AutoProxyWithCodeStyleAspectsTests {

@Test
@SuppressWarnings("resource")
public void noAutoproxyingOfAjcCompiledAspects() {
void noAutoproxyingOfAjcCompiledAspects() {
new ClassPathXmlApplicationContext("org/springframework/aop/aspectj/autoproxy/ajcAutoproxyTests.xml");
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,8 +23,7 @@
public class SpringConfiguredWithAutoProxyingTests {

@Test
@SuppressWarnings("resource")
public void springConfiguredAndAutoProxyUsedTogether() {
void springConfiguredAndAutoProxyUsedTogether() {
// instantiation is sufficient to trigger failure if this is going to fail...
new ClassPathXmlApplicationContext("org/springframework/beans/factory/aspectj/springConfigured.xml");
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,10 +25,10 @@
/**
* @author Chris Beams
*/
public class XmlBeanConfigurerTests {
class XmlBeanConfigurerTests {

@Test
public void injection() {
void injection() {
try (ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
"org/springframework/beans/factory/aspectj/beanConfigurerTests.xml")) {

Expand Down
Loading

0 comments on commit f5b0d95

Please sign in to comment.