b2a65a5f9dd23e302b58f1ea515cea030d476cb6
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private checkConstraints(requiredConstraints Set<Constraint>) : void renamed to private ensureConstraints(requiredConstraints Set<Constraint>) : void in class org.graylog2.contentpacks.ContentPackService | From | To | |
Rename Method public listContentPackRevisions(id ModelId, revision int) : ContentPack renamed to public downloadContentPackRevisions(id ModelId, revision int) : ContentPack in class org.graylog2.rest.resources.system.contentpacks.ContentPackResource | From | To | |
Rename Variable | 1 | ||
Rename Variable contentPackResult : ContentPack to contentPackResponse : ContentPackResponse in method public getContentPack() : void in class org.graylog2.rest.resources.system.contentpacks.ContentPackResourceTest | From | To | |
Change Return Type | 3 | ||
Change Return Type Set<Constraint> to Set<ConstraintCheckResult> in method public checkConstraints(requestedConstraints Collection<Constraint>) : Set<ConstraintCheckResult> in class org.graylog2.contentpacks.constraints.PluginVersionConstraintChecker | From | To | |
Change Return Type Set<Constraint> to Set<ConstraintCheckResult> in method public checkConstraints(requestedConstraints Collection<Constraint>) : Set<ConstraintCheckResult> in class org.graylog2.contentpacks.constraints.GraylogVersionConstraintChecker | From | To | |
Change Return Type Set<Constraint> to Set<ConstraintCheckResult> in method public checkConstraints(requestedConstraints Collection<Constraint>) : Set<ConstraintCheckResult> in class org.graylog2.contentpacks.constraints.ConstraintChecker | From | To | |
Extract Variable | 1 | ||
Extract Variable contentPacks : Set<ContentPack> in method public listContentPackRevisions(id ModelId) : ContentPackRevisions from class org.graylog2.rest.resources.system.contentpacks.ContentPackResource | From | To | |
Change Variable Type | 3 | ||
Change Variable Type fulfilledConstraints : ImmutableSet.Builder<Constraint> to fulfilledConstraints : ImmutableSet.Builder<ConstraintCheckResult> in method public checkConstraints(requestedConstraints Collection<Constraint>) : Set<ConstraintCheckResult> in class org.graylog2.contentpacks.constraints.GraylogVersionConstraintChecker | From | To | |
Change Variable Type contentPackResult : ContentPack to contentPackResponse : ContentPackResponse in method public getContentPack() : void in class org.graylog2.rest.resources.system.contentpacks.ContentPackResourceTest | From | To | |
Change Variable Type fulfilledConstraints : ImmutableSet.Builder<Constraint> to fulfilledConstraints : ImmutableSet.Builder<ConstraintCheckResult> in method public checkConstraints(requestedConstraints Collection<Constraint>) : Set<ConstraintCheckResult> in class org.graylog2.contentpacks.constraints.PluginVersionConstraintChecker | From | To |