YARN-6861. Addendum for YARN-6861 for compilation issue (Rohith Sharma K S via Varun Saxena)

This commit is contained in:
Varun Saxena 2017-08-22 11:32:45 +05:30
parent 186c99c6cc
commit e5d63652df
1 changed files with 4 additions and 4 deletions

View File

@ -3247,7 +3247,7 @@ public class TimelineReaderWebServices {
@GET
@Path("/users/{userid}/entities/{entitytype}")
@Produces(MediaType.APPLICATION_JSON + "; " + JettyUtils.UTF_8)
@Produces(MediaType.APPLICATION_JSON)
public Set<TimelineEntity> getSubAppEntities(
@Context HttpServletRequest req,
@Context HttpServletResponse res,
@ -3278,7 +3278,7 @@ public class TimelineReaderWebServices {
@GET
@Path("/clusters/{clusterid}/users/{userid}/entities/{entitytype}")
@Produces(MediaType.APPLICATION_JSON + "; " + JettyUtils.UTF_8)
@Produces(MediaType.APPLICATION_JSON)
public Set<TimelineEntity> getSubAppEntities(
@Context HttpServletRequest req,
@Context HttpServletResponse res,
@ -3339,7 +3339,7 @@ public class TimelineReaderWebServices {
@GET
@Path("/users/{userid}/entities/{entitytype}/{entityid}")
@Produces(MediaType.APPLICATION_JSON + "; " + JettyUtils.UTF_8)
@Produces(MediaType.APPLICATION_JSON)
public Set<TimelineEntity> getSubAppEntities(@Context HttpServletRequest req,
@Context HttpServletResponse res, @PathParam("userid") String userId,
@PathParam("entitytype") String entityType,
@ -3358,7 +3358,7 @@ public class TimelineReaderWebServices {
@GET
@Path("/clusters/{clusterid}/users/{userid}/entities/{entitytype}/{entityid}")
@Produces(MediaType.APPLICATION_JSON + "; " + JettyUtils.UTF_8)
@Produces(MediaType.APPLICATION_JSON)
public Set<TimelineEntity> getSubAppEntities(@Context HttpServletRequest req,
@Context HttpServletResponse res,
@PathParam("clusterid") String clusterId,