APISonar


org.netbeans.modules.mercurial.Mercurial.STATUS_LOG.log

> org > netbeans > modules > mercurial > Mercurial > STATUS_LOG > log
org APIs netbeans APIs modules APIs mercurial APIs Mercurial APIs STATUS_LOG APIs log APIs

Example 1
public static void executeStatus(final VCSContext context, HgProgressSupport support) {
        if (context == null || context.getRootFiles().size() == 0) {
            return;
        }

        FileStatusCache cache = Mercurial.getInstance().getFileStatusCache();
        Calendar start = Calendar.getInstance();
        cache.refreshAllRoots(context.getRootFiles());
        Calendar end = Calendar.getInstance();
        Mercurial.STATUS_LOG.log(Level.FINE, "executeStatus: refreshCached took {0} millisecs", end.getTimeInMillis() - start.getTimeInMillis()); // NOI18N
    }