Fix FELIX-2732
Compute the id by removing the 'modified' prefix if possible:
modifiedFoo => Foo


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1050416 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/annotations/MethodCollector.java b/ipojo/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/annotations/MethodCollector.java
index 91cce86..770316a 100644
--- a/ipojo/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/annotations/MethodCollector.java
+++ b/ipojo/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/annotations/MethodCollector.java
@@ -314,8 +314,10 @@
                     m_id = m_name.substring("bind".length());
                 } else if (m_name.startsWith("unbind")) {
                     m_id = m_name.substring("unbind".length());
+                } else if (m_name.startsWith("modified")) {
+                	m_id = m_name.substring("modified".length());
                 } else {
-                    System.err.println("Cannot determine the id of the bind method : " + m_name);
+                    System.err.println("Cannot determine the id of the " + m_type + " method : " + m_name);
                     return;
                 }
             }