Author: fmeschbe
Date: Mon Apr  6 11:26:11 2009
New Revision: 762282

URL: http://svn.apache.org/viewvc?rev=762282&view=rev
Log:
JavaDoc and use Java 5 annotation for deprecation

Modified:
    
incubator/sling/trunk/bundles/commons/osgi/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java

Modified: 
incubator/sling/trunk/bundles/commons/osgi/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java
URL: 
http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/commons/osgi/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java?rev=762282&r1=762281&r2=762282&view=diff
==============================================================================
--- 
incubator/sling/trunk/bundles/commons/osgi/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java
 (original)
+++ 
incubator/sling/trunk/bundles/commons/osgi/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java
 Mon Apr  6 11:26:11 2009
@@ -111,8 +111,9 @@
      * the property is not an <code>Double</code> and cannot be converted to
      * an <code>Double</code> from the property's string value.
      * 
-     * @deprecated since 2.0.4, use toDouble instead
+     * @deprecated since 2.0.4, use {...@link #toDouble(Object, double)} 
instead
      */
+    @Deprecated
     public static double getProperty(Object propValue, double defaultValue) {
         return toDouble(propValue, defaultValue);
     }


Reply via email to