commit | 3850861990ea50aa2df394890bd33f3d7180f09a | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Mon Aug 13 04:22:00 2012 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Mon Aug 13 04:22:00 2012 +0000 |
tree | 8caa764afc7f312e2976c1eaa0e7e1394fb80bcd | |
parent | 6391f0ce4004bb8a1af70f46fa3ca9006efd4751 [diff] |
FELIX-3552 : Implement new features of DS 1.2 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1372258 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java b/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java index da8e7fd..fedcef0 100644 --- a/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java +++ b/scrplugin/ds-annotations/src/main/java/org/apache/felix/scrplugin/ds/DSAnnotationProcessor.java
@@ -241,10 +241,10 @@ 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;