Package org.eclipse.orion.server.git.objects

Examples of org.eclipse.orion.server.git.objects.Blame.toJSON()


      String path = requestInfo.relativePath;
      blame.setFilePath(path);
      blame.setBlameLocation(getURI(request));
      doBlame(blame, requestInfo.db);
      OrionServlet.writeJSONResponse(request, response, blame.toJSON(), JsonURIUnqualificationStrategy.ALL_NO_GIT);
      return true;
    } catch (Exception e) {
      return statusHandler.handleRequest(request, response, new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
          "Error generating blame response", e));
    }
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.