@@ -82,25 +82,25 @@ public DefaultIntroductionAdvisor(Advice advice, @Nullable IntroductionInfo intr
82
82
/**
83
83
* Create a DefaultIntroductionAdvisor for the given advice.
84
84
* @param advice the Advice to apply
85
- * @param intf the interface to introduce
85
+ * @param ifc the interface to introduce
86
86
*/
87
- public DefaultIntroductionAdvisor (DynamicIntroductionAdvice advice , Class <?> intf ) {
87
+ public DefaultIntroductionAdvisor (DynamicIntroductionAdvice advice , Class <?> ifc ) {
88
88
Assert .notNull (advice , "Advice must not be null" );
89
89
this .advice = advice ;
90
- addInterface (intf );
90
+ addInterface (ifc );
91
91
}
92
92
93
93
94
94
/**
95
95
* Add the specified interface to the list of interfaces to introduce.
96
- * @param intf the interface to introduce
96
+ * @param ifc the interface to introduce
97
97
*/
98
- public void addInterface (Class <?> intf ) {
99
- Assert .notNull (intf , "Interface must not be null" );
100
- if (!intf .isInterface ()) {
101
- throw new IllegalArgumentException ("Specified class [" + intf .getName () + "] must be an interface" );
98
+ public void addInterface (Class <?> ifc ) {
99
+ Assert .notNull (ifc , "Interface must not be null" );
100
+ if (!ifc .isInterface ()) {
101
+ throw new IllegalArgumentException ("Specified class [" + ifc .getName () + "] must be an interface" );
102
102
}
103
- this .interfaces .add (intf );
103
+ this .interfaces .add (ifc );
104
104
}
105
105
106
106
@ Override
@@ -113,8 +113,8 @@ public void validateInterfaces() throws IllegalArgumentException {
113
113
for (Class <?> ifc : this .interfaces ) {
114
114
if (this .advice instanceof DynamicIntroductionAdvice &&
115
115
!((DynamicIntroductionAdvice ) this .advice ).implementsInterface (ifc )) {
116
- throw new IllegalArgumentException ("DynamicIntroductionAdvice [" + this .advice + "] " +
117
- "does not implement interface [" + ifc .getName () + "] specified for introduction" );
116
+ throw new IllegalArgumentException ("DynamicIntroductionAdvice [" + this .advice + "] " +
117
+ "does not implement interface [" + ifc .getName () + "] specified for introduction" );
118
118
}
119
119
}
120
120
}
0 commit comments