Author: fmeschbe
Date: Wed Jan 6 06:30:32 2010
New Revision: 896326
URL: http://svn.apache.org/viewvc?rev=896326&view=rev
Log:
Enhance JavaDoc to list the actual numeric values for MIN_INT and MAX_INT.
Modified:
felix/trunk/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Property.java
Modified:
felix/trunk/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Property.java
URL:
http://svn.apache.org/viewvc/felix/trunk/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Property.java?rev=896326&r1=896325&r2=896326&view=diff
==============================================================================
---
felix/trunk/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Property.java
(original)
+++
felix/trunk/scr-annotations/src/main/java/org/apache/felix/scr/annotations/Property.java
Wed Jan 6 06:30:32 2010
@@ -128,13 +128,14 @@
* the Wrapper class), if the cardinality is positive, the property is
* stored in an array (primitve types are unboxed, that is Boolean type
* values are stored in boolean[]). The actual value defines the maximum
- * number of elements in the vector or array, where Integer.MIN_INT
- * describes an unbounded Vector and Integer.MAX_INT describes an unbounded
- * array. If the cardinality is zero, the property is a scalar value. If
the
- * defined value of the property is set in the value attribute, the
- * cardinality defaults to 0 (zero for scalar value). If the property is
- * defined in one or more properties starting with values, the cardinality
- * defaults to Integer.MAX_INT, that is an unbounded array.
+ * number of elements in the vector or array, where â2147483648
+ * (Integer.MIN_INT) describes an unbounded Vector and 2147483647
+ * (Integer.MAX_INT) describes an unbounded array. If the cardinality is
+ * zero, the property is a scalar value. If the defined value of the
+ * property is set in the value attribute, the cardinality defaults to0
+ * (zero for scalar value). If the property is defined in one or more
+ * properties starting with values, the cardinality defaults to
+ * 2147483647 (Integer.MAX_INT), that is an unbounded array.
*/
int cardinality() default 0;