Author: rfeng
Date: Wed Nov 29 14:38:46 2006
New Revision: 480749
URL: http://svn.apache.org/viewvc?view=rev&rev=480749
Log:
Fix for TUSCANY-955 (The @Property annotation should apply to setter method)
Modified:
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/services/store/memory/MemoryStore.java
Modified:
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/services/store/memory/MemoryStore.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/services/store/memory/MemoryStore.java?view=diff&rev=480749&r1=480748&r2=480749
==============================================================================
---
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/services/store/memory/MemoryStore.java
(original)
+++
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/services/store/memory/MemoryStore.java
Wed Nov 29 14:38:46 2006
@@ -62,15 +62,14 @@
* Returns the maximum default expiration offset for records in the store
* @return the maximum default expiration offset for records in the store
*/
- // TODO setting this property causes IllegalPropertyException to be thrown
- //@Property
- public long getExpirationOffset() {
+ public long getDefaultExpirationOffset() {
return defaultExpirationOffset;
}
/**
* Sets the maximum default expiration offset for records in the store
*/
+ @Property
public void setDefaultExpirationOffset(long defaultExpirationOffset) {
this.defaultExpirationOffset = defaultExpirationOffset;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]