You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:24:00 UTC

[sling-org-apache-sling-commons-osgi] 21/24: JavaDoc and use Java 5 annotation for deprecation

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.commons.osgi-2.0.4-incubator
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-osgi.git

commit 1efaf589af3f5a8cf27413819be0a5c63be9ffa0
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Mon Apr 6 11:26:11 2009 +0000

    JavaDoc and use Java 5 annotation for deprecation
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/sling/trunk/bundles/commons/osgi@762282 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java b/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java
index b6533a3..7c02c03 100644
--- a/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java
+++ b/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java
@@ -111,8 +111,9 @@ public class OsgiUtil {
      * 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);
     }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.