You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2012/08/13 06:22:00 UTC

svn commit: r1372258 - /felix/trunk/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java

Author: cziegeler
Date: Mon Aug 13 04:22:00 2012
New Revision: 1372258

URL: http://svn.apache.org/viewvc?rev=1372258&view=rev
Log:
FELIX-3552 : Implement new features of DS 1.2

Modified:
    felix/trunk/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java

Modified: felix/trunk/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java?rev=1372258&r1=1372257&r2=1372258&view=diff
==============================================================================
--- felix/trunk/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java (original)
+++ felix/trunk/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java Mon Aug 13 04:22:00 2012
@@ -241,10 +241,10 @@ public class DSAnnotationProcessor imple
             defaultUnbindMethodName = "remove" + refNameByMethod;
         } else if ( methodName.startsWith("set") ) {
             refNameByMethod = methodName.substring(3);
-            defaultUnbindMethodName = "un" + refNameByMethod;
+            defaultUnbindMethodName = "unset" + refNameByMethod;
         } else if ( methodName.startsWith("bind") ) {
             refNameByMethod = methodName.substring(4);
-            defaultUnbindMethodName = "un" + refNameByMethod;
+            defaultUnbindMethodName = "unbind" + refNameByMethod;
         } else {
             refNameByMethod = methodName;
             defaultUnbindMethodName = "un" + refNameByMethod;