You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2006/11/29 23:38:47 UTC
svn commit: r480749 -
/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/services/store/memory/MemoryStore.java
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: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org