Code example for FileLock

Methods: release

0
	} 
 
	public synchronized void release() { 
		if (fileLock != null) {
			try { 
				fileLock.release();
			} catch (IOException e) {
				//don't complain, we're making a best effort to clean up 
			} 
			fileLock = null;
		} 
		if (raFile != null) {
			try { 
				raFile.close();
			} catch (IOException e) {
				//don't complain, we're making a best effort to clean up 
			} 
			raFile = null;
		} 
	}