27b89085557b672cf82d9db0d042b58323b7ff75
Files Diff
- Added: 7
- Removed: 6
- Renamed: 0
- Modified: 24
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type port : Port to portSupplier : PortSupplier in method public port(portSupplier PortSupplier) : Builder in class org.apache.james.webadmin.WebAdminConfiguration.Builder | From | To | |
Change Parameter Type port : Optional<Port> to port : Optional<PortSupplier> in method package WebAdminConfiguration(enabled boolean, port Optional<PortSupplier>, tlsConfiguration Optional<TlsConfiguration>, enableCORS boolean, urlCORSOrigin String, host String) in class org.apache.james.webadmin.WebAdminConfiguration | From | To | |
Inline Method | 1 | ||
Inline Method private validatePortNumber(portNumber int) : int inlined to package getPort(cmd CommandLine) : int in class org.apache.james.cli.ServerCmd | From | To | |
Change Return Type | 2 | ||
Change Return Type Port to PortSupplier in method public getPort() : PortSupplier in class org.apache.james.webadmin.WebAdminServer | From | To | |
Change Return Type Port to PortSupplier in method public getPort() : PortSupplier in class org.apache.james.webadmin.WebAdminConfiguration | From | To | |
Move Attribute | 1 | ||
Move Attribute private VALID_PORT_RANGE : Range<Integer> from class org.apache.james.http.jetty.Configuration.Builder to private VALID_PORT_RANGE : Range<Integer> from class org.apache.james.util.Port | From | To | |
Rename Class | 4 | ||
Rename Class org.apache.james.webadmin.Port renamed to org.apache.james.webadmin.PortSupplier | From | To | |
Rename Class org.apache.james.webadmin.RandomPort renamed to org.apache.james.webadmin.RandomPortSupplier | From | To | |
Rename Class org.apache.james.webadmin.RandomPortTest renamed to org.apache.james.webadmin.RandomPortSupplierTest | From | To | |
Rename Class org.apache.james.webadmin.FixedPortTest renamed to org.apache.james.webadmin.FixedPortSupplierTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type testee : RandomPort to testee : RandomPortSupplier in method public toIntShouldReturnTwoTimeTheSameResult() : void in class org.apache.james.webadmin.RandomPortSupplierTest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type port : Optional<Port> to port : Optional<PortSupplier> in class org.apache.james.webadmin.WebAdminConfiguration.Builder | From | To | |
Change Attribute Type PORT : FixedPort to PORT : FixedPortSupplier in class org.apache.james.webadmin.WebAdminConfigurationTest | From | To | |
Change Attribute Type port : Optional<Port> to port : Optional<PortSupplier> in class org.apache.james.webadmin.WebAdminConfiguration | From | To | |
Rename Parameter | 1 | ||
Rename Parameter port : Port to portSupplier : PortSupplier in method public port(portSupplier PortSupplier) : Builder in class org.apache.james.webadmin.WebAdminConfiguration.Builder | From | To |