13042923d6451cfb3e3fa0eb7449aa309b9dce04
Files Diff
- Added: 3
- Removed: 7
- Renamed: 0
- Modified: 18
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public setSsl(ssl boolean) : void renamed to public setSecure(secure boolean) : void in class org.apache.camel.component.pubnub.PubNubConfiguration | From | To | |
| Rename Method public isSsl() : boolean renamed to public isSecure() : boolean in class org.apache.camel.component.pubnub.PubNubConfiguration | From | To | |
| Rename Method public getEndpointType() : PubNubEndpointType renamed to public getConfiguration() : PubNubConfiguration in class org.apache.camel.component.pubnub.PubNubEndpoint | From | To | |
| Pull Up Method | 3 | ||
| Pull Up Method protected createRegistry() : JndiRegistry from class org.apache.camel.component.pubnub.PubNubPresensTest to protected createRegistry() : JndiRegistry from class org.apache.camel.component.pubnub.PubNubTestBase | From | To | |
| Pull Up Method protected createRegistry() : JndiRegistry from class org.apache.camel.component.pubnub.PubNubOperationsTest to protected createRegistry() : JndiRegistry from class org.apache.camel.component.pubnub.PubNubTestBase | From | To | |
| Pull Up Method protected createRegistry() : JndiRegistry from class org.apache.camel.component.pubnub.PubNubComponentTest to protected createRegistry() : JndiRegistry from class org.apache.camel.component.pubnub.PubNubTestBase | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type message : JSONObject to message : PNMessageResult in method public doSomethingInteresting(message PNMessageResult) : void in class org.apache.camel.component.pubnub.example.PubNubSensor2Example.PubsubRoute.DataProcessorBean | From | To | |
| Change Parameter Type pubnub : Pubnub to pubnub : PubNub in method public setPubnub(pubnub PubNub) : void in class org.apache.camel.component.pubnub.PubNubEndpoint | From | To | |
| Rename Variable | 2 | ||
| Rename Variable presenceResponse : JSONObject to presence : PNPresenceEventResult in method public testPresens() : void in class org.apache.camel.component.pubnub.PubNubPresensTest | From | To | |
| Rename Variable response : JSONObject to channels : List<String> in method public doSomethingInteresting(message PNMessageResult) : void in class org.apache.camel.component.pubnub.example.PubNubSensor2Example.PubsubRoute.DataProcessorBean | From | To | |
| Change Return Type | 4 | ||
| Change Return Type PubNubEndpointType to PubNubConfiguration in method public getConfiguration() : PubNubConfiguration in class org.apache.camel.component.pubnub.PubNubEndpoint | From | To | |
| Change Return Type Pubnub to PubNub in method public getPubnub() : PubNub in class org.apache.camel.component.pubnub.PubNubEndpoint | From | To | |
| Change Return Type Pubnub to PubNub in method private getInstance() : PubNub in class org.apache.camel.component.pubnub.PubNubEndpoint | From | To | |
| Change Return Type String to DeviceWeatherInfo in method public getRandomEvent(device String) : DeviceWeatherInfo in class org.apache.camel.component.pubnub.example.PubNubSensor2Example.EventGeneratorBean | From | To | |
| Rename Class | 1 | ||
| Rename Class org.apache.camel.component.pubnub.PubNubComponentTest renamed to org.apache.camel.component.pubnub.PubNubPublishTest | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.apache.camel.component.pubnub.PubNubTestBase from classes [org.apache.camel.component.pubnub.PubNubPublishTest, org.apache.camel.component.pubnub.PubNubOperationsTest, org.apache.camel.component.pubnub.PubNubPresensTest] | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute ssl : boolean to secure : boolean in class org.apache.camel.component.pubnub.PubNubConfiguration | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type answer : Pubnub to answer : PubNub in method private getInstance() : PubNub in class org.apache.camel.component.pubnub.PubNubEndpoint | From | To | |
| Change Variable Type presenceResponse : JSONObject to presence : PNPresenceEventResult in method public testPresens() : void in class org.apache.camel.component.pubnub.PubNubPresensTest | From | To | |
| Change Variable Type response : JSONObject to channels : List<String> in method public doSomethingInteresting(message PNMessageResult) : void in class org.apache.camel.component.pubnub.example.PubNubSensor2Example.PubsubRoute.DataProcessorBean | From | To | |
| Change Variable Type response : JSONObject to response : PNHereNowResult in method public testHereNow() : void in class org.apache.camel.component.pubnub.PubNubOperationsTest | From | To | |
| Extract Method | 12 | ||
| Extract Method private doSetState(exchange Exchange, callback AsyncCallback) : void extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private doGetState(exchange Exchange, callback AsyncCallback) : void extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private getUUID(exchange Exchange) : String extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private doGetHistory(exchange Exchange, callback AsyncCallback) : void extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private doWhereNow(exchange Exchange, callback AsyncCallback) : void extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private doFire(exchange Exchange, callback AsyncCallback) : void extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private getChannel(exchange Exchange) : String extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private doPublish(exchange Exchange, callback AsyncCallback) : void extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Extract Method private doHereNow(exchange Exchange, callback AsyncCallback) : void extracted from public process(exchange Exchange, callback AsyncCallback) : boolean in class org.apache.camel.component.pubnub.PubNubProducer | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type pubnub : Pubnub to pubnub : PubNub in class org.apache.camel.component.pubnub.PubNubEndpoint | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter ssl : boolean to secure : boolean in method public setSecure(secure boolean) : void in class org.apache.camel.component.pubnub.PubNubConfiguration | From | To |