5fd7bc86be15876ff6b9824fc80963992bbb1c56
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method public getProperty() : String from class org.apache.james.jmap.model.Property to public asFieldName() : String from class org.apache.james.jmap.model.MessageProperty | From | To | |
Move And Rename Method private Property(property String) from class org.apache.james.jmap.model.Property to package MessageProperty(property String) from class org.apache.james.jmap.model.MessageProperty | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type properties : Optional<Set<String>> to properties : Optional<? extends Set<? extends Property>> in method private buildPropertiesFilter(properties Optional<? extends Set<? extends Property>>) : FilterProvider in class org.apache.james.jmap.methods.JmapResponseWriterImpl | From | To | |
Change Parameter Type properties : Set<String> to properties : Optional<? extends Set<? extends Property>> in method public properties(properties Optional<? extends Set<? extends Property>>) : Builder in class org.apache.james.jmap.methods.JmapResponse.Builder | From | To | |
Change Parameter Type properties : Optional<ImmutableList<Property>> to properties : Optional<ImmutableSet<MessageProperty>> in method public GetMessagesRequest(accountId Optional<String>, ids ImmutableList<MessageId>, properties Optional<ImmutableSet<MessageProperty>>) in class org.apache.james.jmap.model.GetMessagesRequest | From | To | |
Change Parameter Type properties : Optional<Set<String>> to properties : Optional<? extends Set<? extends Property>> in method private JmapResponse(method Method.Response.Name, clientId ClientId, response Method.Response, properties Optional<? extends Set<? extends Property>>) in class org.apache.james.jmap.methods.JmapResponse | From | To | |
Change Parameter Type properties : Property... to properties : MessageProperty... in method public properties(properties MessageProperty...) : Builder in class org.apache.james.jmap.model.GetMessagesRequest.Builder | From | To | |
Change Return Type | 2 | ||
Change Return Type Optional<Set<String>> to Optional<? extends Set<? extends Property>> in method public getProperties() : Optional<? extends Set<? extends Property>> in class org.apache.james.jmap.methods.JmapResponse | From | To | |
Change Return Type Optional<ImmutableList<Property>> to Optional<ImmutableSet<MessageProperty>> in method public getProperties() : Optional<ImmutableSet<MessageProperty>> in class org.apache.james.jmap.model.GetMessagesRequest | From | To | |
Move Attribute | 1 | ||
Move Attribute private property : String from class org.apache.james.jmap.model.Property to private property : String from class org.apache.james.jmap.model.MessageProperty | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type properties : Optional<ImmutableList<Property>> to properties : Optional<ImmutableSet<MessageProperty>> in class org.apache.james.jmap.model.GetMessagesRequest.Builder | From | To | |
Change Attribute Type properties : Set<String> to properties : Optional<? extends Set<? extends Property>> in class org.apache.james.jmap.methods.JmapResponse.Builder | From | To | |
Change Attribute Type properties : Optional<ImmutableList<Property>> to properties : Optional<ImmutableSet<MessageProperty>> in class org.apache.james.jmap.model.GetMessagesRequest | From | To | |
Change Attribute Type properties : Optional<Set<String>> to properties : Optional<? extends Set<? extends Property>> in class org.apache.james.jmap.methods.JmapResponse | From | To |