Examples of unlock()


Examples of org.dyno.visual.swing.designer.VisualDesigner.unlock()

  }

  public void unlockDesigner() {
    VisualDesigner designer = getDesigner();
    if (designer != null)
      designer.unlock();
  }

  public ICompilationUnit getCompilationUnit() {
    VisualDesigner designer = getDesigner();
    if (designer != null)
View Full Code Here

Examples of org.eclipse.ecf.docshare2.DocShare.unlock()

        if (remoteChanges[i] instanceof FileChangeMessage) {
          String path = ((FileChangeMessage) remoteChanges[i]).getPath();
          paths.add(path);
        }
      }
      docShare.unlock((String[]) paths.toArray(new String[paths.size()]));
    }
  }

}
View Full Code Here

Examples of org.eclipse.jgit.dircache.DirCache.unlock()

      edit.commit();
    } catch (IOException e) {
      throw new RuntimeException(e);
    } finally {
      if (dc != null)
        dc.unlock();
    }
  }

  private void resetIndex(RevCommit commit) throws IOException {
    DirCache dc = null;
View Full Code Here

Examples of org.eclipse.jgit.internal.storage.file.LockFile.unlock()

    final LockFile tmp = myLock;
    requireLocked(tmp);
    try {
      writeTo(new SafeBufferedOutputStream(tmp.getOutputStream()));
    } catch (IOException err) {
      tmp.unlock();
      throw err;
    } catch (RuntimeException err) {
      tmp.unlock();
      throw err;
    } catch (Error err) {
View Full Code Here

Examples of org.eclipse.jgit.storage.file.LockFile.unlock()

          w.close();
        }
        lock.commit();
      }
    } finally {
      lock.unlock();
    }
  }

  private boolean askForIsComplete() throws TransportException {
    try {
View Full Code Here

Examples of org.eclipse.jgit.storage.file.PackLock.unlock()

      }
    }

    if (!dstPack.renameTo(finalPack)) {
      cleanupTemporaryFiles();
      keep.unlock();
      throw new IOException(MessageFormat.format(JGitText.get().cannotMovePackTo, finalPack));
    }

    if (!dstIdx.renameTo(finalIdx)) {
      cleanupTemporaryFiles();
View Full Code Here

Examples of org.exist.dom.DocumentSet.unlock()

        } catch (final LockException e) {
            throw new XPathException(this, "Failed to acquire lock on the context document set");
        } finally {
            // release all locks
            if (!context.inProtectedMode())
                {ds.unlock(false);}
        }
//        result.updateNoSort();
        if (context.getProfiler().isEnabled())
            {context.getProfiler().end(this, "", result);}
       
View Full Code Here

Examples of org.exist.storage.lock.LockedDocumentMap.unlock()

            return new QueryResult(result, outputProperties);
        } catch (final XPathException e) {
            return new QueryResult(e);
        } finally {
            if(lockedDocuments != null) {
                lockedDocuments.unlock();
            }
        }
    }

    protected LockedDocumentMap beginProtected(DBBroker broker, HashMap<String, Object> parameters) throws EXistException, PermissionDeniedException {
View Full Code Here

Examples of org.exist.versioning.svn.WorkingCopy.unlock()

        String uri = args[0].getStringValue();
      
        Resource wcDir = new Resource(uri);
       
        try {
      wc.unlock(wcDir, false);
    } catch (SVNException e) {
            throw new XPathException(this, e.getMessage(), e);
    }
       
        return Sequence.EMPTY_SEQUENCE;
View Full Code Here

Examples of org.exoplatform.services.jcr.cluster.JCRWebdavConnection.unlock()

         HTTPResponse response = connection.removeNode(nodeName + "/" + lockedNodeName);
         assertEquals(HTTPStatus.LOCKED, response.getStatusCode());
      }
     
      // unloc
      conn.unlock(nodeName + "/" + lockedNodeName, lockToken);
     
      HTTPResponse resp = getConnection().removeNode(nodeName + "/" + lockedNodeName);
      assertEquals(HTTPStatus.NO_CONTENT, resp.getStatusCode());
     
      // ckeck
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.