Permalink
Browse files

#64 fogot to change name of the interceptor

  • Loading branch information...
1 parent 9a56171 commit 529a4ce09cb28be69417d952c6adb99644e302c2 pawel committed Dec 23, 2011
@@ -11,7 +11,7 @@
*/
@NullToEmptyStringParams
@Interceptor
-public class NotNullStringParamsInterceptor {
+public class NullToEmptyStringParamsInterceptor {
@AroundInvoke
public Object convertEmptyStringParameters(InvocationContext ctx) throws Exception {
@@ -23,7 +23,7 @@ public static JavaArchive createTestArchive() {
JavaArchive ar = ShrinkWrap.create(JavaArchive.class, "test.jar")
.addClass(BeanToIntercept.class)
.addClass(NullToEmptyStringParams.class)
- .addClass(NotNullStringParamsInterceptor.class);
+ .addClass(NullToEmptyStringParamsInterceptor.class);
ar = addTestBeansXml(ar);
@@ -64,7 +64,7 @@ public void shouldNotChangeNonStrings() throws Exception {
StringBuilder beansXmlBuilder = new StringBuilder();
beansXmlBuilder.append("<beans>");
beansXmlBuilder.append("<interceptors>");
- beansXmlBuilder.append("<class>pl.softwaremill.common.cdi.interceptor.NotNullStringParamsInterceptor</class>");
+ beansXmlBuilder.append("<class>pl.softwaremill.common.cdi.interceptor.NullToEmptyStringParamsInterceptor</class>");
beansXmlBuilder.append("</interceptors>");
beansXmlBuilder.append("</beans>");

0 comments on commit 529a4ce

Please sign in to comment.