469b29c0817b7bf1902c9195c4f8d031a909e1c9
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 1 | ||
Parameterize Variable timelineReaderManager : TimelineReaderManager to readerManager : TimelineReaderManager in method package checkAccess(readerManager TimelineReaderManager, callerUGI UserGroupInformation, entities Set<TimelineEntity>, entityUserKey String, verifyForAllEntity boolean) : void in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Extract Variable | 2 | ||
Extract Variable context : TimelineReaderContext in method public getFlowRun(req HttpServletRequest, res HttpServletResponse, clusterId String, userId String, flowName String, flowRunId String, metricsToRetrieve String) : TimelineEntity from class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Extract Variable timelineReaderContext : TimelineReaderContext in method public getFlowRuns(req HttpServletRequest, res HttpServletResponse, clusterId String, userId String, flowName String, limit String, createdTimeStart String, createdTimeEnd String, metricsToRetrieve String, fields String, fromId String) : Set<TimelineEntity> from class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Inline Variable | 1 | ||
Inline Variable config : Configuration in method public getFlows(req HttpServletRequest, res HttpServletResponse, clusterId String, limit String, dateRange String, fromId String) : Set<TimelineEntity> from class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To | |
Extract Method | 1 | ||
Extract Method package checkAccess(readerManager TimelineReaderManager, callerUGI UserGroupInformation, entities Set<TimelineEntity>, entityUserKey String, verifyForAllEntity boolean) : void extracted from public getFlows(req HttpServletRequest, res HttpServletResponse, clusterId String, limit String, dateRange String, fromId String) : Set<TimelineEntity> in class org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices | From | To |