4c8403c34a2f0e2bb620fda41853dce1ec54f3ae
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public processShouldReturnAPreconfiguredObjectMapperFilteringHeaders() : void renamed to public processShouldReturnPropertyFilterWhenFilteringHeadersRequested() : void in class org.apache.james.jmap.methods.GetMessagesMethodTest | From | To | |
Rename Method private propertyToAdd(property MessageProperty, requestedProperties Optional<ImmutableSet<MessageProperty>>) : boolean renamed to private buildOptionalHeadersFilteringFilterProvider(properties MessageProperties) : Optional<SimpleFilterProvider> in class org.apache.james.jmap.methods.GetMessagesMethod | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type properties : Optional<ImmutableSet<MessageProperty>> to properties : MessageProperties in method public GetMessagesRequest(accountId Optional<String>, ids ImmutableList<MessageId>, properties MessageProperties) in class org.apache.james.jmap.model.GetMessagesRequest | From | To | |
Rename Variable | 1 | ||
Rename Variable requestedProperties : Optional<ImmutableSet<MessageProperty>> to outputProperties : MessageProperties in method public process(request JmapRequest, clientId ClientId, mailboxSession MailboxSession) : Stream<JmapResponse> in class org.apache.james.jmap.methods.GetMessagesMethod | From | To | |
Change Return Type | 2 | ||
Change Return Type Optional<ImmutableSet<MessageProperty>> to MessageProperties in method public getProperties() : MessageProperties in class org.apache.james.jmap.model.GetMessagesRequest | From | To | |
Change Return Type boolean to Optional<SimpleFilterProvider> in method private buildOptionalHeadersFilteringFilterProvider(properties MessageProperties) : Optional<SimpleFilterProvider> in class org.apache.james.jmap.methods.GetMessagesMethod | From | To | |
Move Class | 1 | ||
Move Class org.apache.james.jmap.model.MessageProperty moved to org.apache.james.jmap.model.MessageProperties.MessageProperty | From | To | |
Rename Attribute | 1 | ||
Rename Attribute propertiesBuilder : ImmutableSet.Builder<String> to properties : Optional<ImmutableSet<String>> in class org.apache.james.jmap.model.GetMessagesRequest.Builder | From | To | |
Change Variable Type | 3 | ||
Change Variable Type requestedProperties : Optional<ImmutableSet<MessageProperty>> to outputProperties : MessageProperties in method public process(request JmapRequest, clientId ClientId, mailboxSession MailboxSession) : Stream<JmapResponse> in class org.apache.james.jmap.methods.GetMessagesMethod | From | To | |
Change Variable Type headerProperty : MessageHeaderProperty to headerProperty : HeaderProperty in method public valueOfShouldReturnLowerCasedProperty() : void in class org.apache.james.jmap.model.MessageHeaderPropertyTest | From | To | |
Change Variable Type result : List<JmapResponse> to result : Stream<JmapResponse> in method public processShouldReturnAllPropertiesWhenNoPropertyGiven() : void in class org.apache.james.jmap.methods.GetMessagesMethodTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type propertiesBuilder : ImmutableSet.Builder<String> to properties : Optional<ImmutableSet<String>> in class org.apache.james.jmap.model.GetMessagesRequest.Builder | From | To | |
Change Attribute Type properties : Optional<ImmutableSet<MessageProperty>> to properties : MessageProperties in class org.apache.james.jmap.model.GetMessagesRequest | From | To |