Code example for FileLock

Methods: release

0
		if (!locking) {
			return; 
		} 
		if (lock != null) {
			try { 
				lock.release();
			} catch (IOException e) {
				//no-op 
			} 
		} 
		if (raFile != null) {
			IOUtilities.safeClose(raFile);
		} 
		lock = null;
		raFile = null;
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java