Skip to content

Commit efa70b7

Browse files
AXIS2-5904 Add Javadoc to PolicySubject.getVersion()
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a4f18f6 commit efa70b7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

modules/kernel/src/org/apache/axis2/description/PolicySubject.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ public void setLastUpdatedTime(Date lastUpdatedTime) {
120120
this.version = VERSION_COUNTER.incrementAndGet();
121121
}
122122

123+
/**
124+
* Returns the current version of the policy set, represented by a
125+
* monotonically increasing number. This version number changes every
126+
* time a policy is attached, detached, updated, or cleared.
127+
*
128+
* @return the current policy version
129+
*/
123130
public long getVersion() {
124131
return version;
125132
}

0 commit comments

Comments
 (0)