Examples of keep()


Examples of javax.faces.context.Flash.keep()

                //Resolve property calling get or keep
                elContext.setPropertyResolved(true);
                //Obtain the value on requestMap if any
                Object value = externalContext(elContext).getRequestMap().get(strProperty);
                //promote it to flash scope
                flash.keep(strProperty);
                return value;
            }
            else
            {
                //Just get the value
View Full Code Here

Examples of org.eclipse.jgit.dircache.DirCacheBuilder.keep()

        return false;
      }

      final DirCacheBuilder edit = dirc.builder();
      if (first > 0)
        edit.keep(0, first);
      final int next = dirc.nextEntry(first);
      if (next < dirc.getEntryCount())
        edit.keep(next, dirc.getEntryCount() - next);
      if (!edit.commit())
        tree.failed(new Status(IStatus.ERROR, Activator.getPluginId(),
View Full Code Here

Examples of org.eclipse.jgit.dircache.DirCacheBuilder.keep()

      final DirCacheBuilder edit = dirc.builder();
      if (first > 0)
        edit.keep(0, first);
      final int next = dirc.nextEntry(first);
      if (next < dirc.getEntryCount())
        edit.keep(next, dirc.getEntryCount() - next);
      if (!edit.commit())
        tree.failed(new Status(IStatus.ERROR, Activator.getPluginId(),
            0, CoreText.MoveDeleteHook_operationError, null));
      tree.standardDeleteFile(file, updateFlags, monitor);
    } catch (IOException e) {
View Full Code Here

Examples of play.mvc.Scope.Flash.keep()

//        return l;
//    }

    private void keepFlash_() {
        Flash f = Flash.current();
        if (f != null) f.keep();
    }

    private boolean processStatic_(VirtualFile file, Request req, Response resp, ResourceType type) {
        /*
        IRenderSession sess = type == ResourceType.JS ? jsSession() : cssSession();
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.