[jboss-cvs] JBossAS SVN: r64695 - projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/support.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Aug 18 17:53:03 EDT 2007
Author: alesj
Date: 2007-08-18 17:53:03 -0400 (Sat, 18 Aug 2007)
New Revision: 64695
Modified:
projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/support/PropertyAnnotationTester.java
Log:
Added String setter.
Different behaviour on Winz than Linux. :-(
Modified: projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/support/PropertyAnnotationTester.java
===================================================================
--- projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/support/PropertyAnnotationTester.java 2007-08-18 21:26:41 UTC (rev 64694)
+++ projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/annotations/support/PropertyAnnotationTester.java 2007-08-18 21:53:03 UTC (rev 64695)
@@ -36,11 +36,15 @@
}
@StringValue("FromAnnotation")
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
public void setValue(Object value)
{
if (value == null)
throw new IllegalArgumentException("Null value.");
- this.value = value.toString();
+ setValue(value.toString());
}
-
}
More information about the jboss-cvs-commits
mailing list