01: /*
02: * Copyright (C) The DNA Group. All rights reserved.
03: *
04: * This software is published under the terms of the DNA
05: * Software License version 1.1, a copy of which has been included
06: * with this distribution in the LICENSE.txt file.
07: */
08: package org.codehaus.dna;
09:
10: import org.codehaus.dna.ReleaseUtil;
11:
12: /**
13: *
14: * @author Peter Donald
15: * @version $Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $
16: */
17: class MockReleaseable implements ReleaseUtil.Releaseable {
18: private boolean m_released;
19:
20: public void release() {
21: m_released = true;
22: }
23:
24: public boolean isReleased() {
25: return m_released;
26: }
27: }
|