Code example for FileLock

Methods: release

0
 
        if (this.fileLock == null) {
            success = true;
        } else { 
            try { 
                this.fileLock.release();
 
                success = true;
            } catch (Exception e) {}
            finally { 
                this.fileLock = null;
            } 
        } 
 
        return success;
    } 
} 
Experience pair programming with AI  Get Codota for Java