Skip to content

Commit 16ac03c

Browse files
committed
Added isLocked with deprecation
1 parent 3204d70 commit 16ac03c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/main/java/org/red5/server/so/SharedObjectScope.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,17 @@ public void release() {
142142
so.get().release();
143143
}
144144

145+
/**
146+
* This is no longer supported and is only here to prevent issues at runtime for those
147+
* implementing the call.
148+
*
149+
* @return false
150+
*/
151+
@Deprecated
152+
public boolean isLocked() {
153+
return false;
154+
}
155+
145156
/** {@inheritDoc} */
146157
@Deprecated
147158
@Override

0 commit comments

Comments
 (0)