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.2-incubator in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-osgi.git
commit 2fb950ce06418729c0093b30c9fb195fac572386 Author: Carsten Ziegeler <[email protected]> AuthorDate: Tue May 27 14:41:02 2008 +0000 Add method for handling integer properties. git-svn-id: https://svn.apache.org/repos/asf/incubator/sling/trunk/commons/osgi@660537 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java | 2 +- 1 file changed, 1 insertion(+), 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 2b4ca43..0635570 100644 --- a/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java +++ b/src/main/java/org/apache/sling/commons/osgi/OsgiUtil.java @@ -90,7 +90,7 @@ public class OsgiUtil { * the property is not an <code>Integer</code> and cannot be converted to * an <code>Integer</code> from the property's string value. */ - public static long toInteger(Object propValue, int defaultValue) { + public static int toInteger(Object propValue, int defaultValue) { propValue = toObject(propValue); if (propValue instanceof Integer) { return (Integer) propValue; -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
