Miscellaneous
Default method argument values
This inspection reports method argument values that match the default values of properties those methods set.
Methods in the following classes are analyzed:
- Builders of these actions:
FailAction
,InputAction
,PurgeEndpointAction
,ReceiveTimeoutAction
,SleepAction
,StopTimeAction
,TransformAction
,SendMessageAction
,ReceiveMessageAction
- Builders of these containers:
Assert
,Catch
,Iterate
,RepeatOnErrorUntilTrue
,Timer
,Wait
- Endpoint builders:
- channel:
ChannelEndpointBuilder
,ChannelSyncEndpointBuilder
, - jms:
JmsEndpointBuilder
,JmsSyncEndpointBuilder
, - kafka:
KafkaEndpointBuilder
, - http:
HttpClientBuilder
, - ws:
WebServiceClientBuilder
,WebServiceServerBuilder
- camel:
CamelSyncEndpointBuilder
- channel:
- Others:
ScriptValidationContext.Builder
It also provides a quick fix to remove the reported method call.
Citrus GitHub project development support
Citric can be manually enabled to work in the citrusframework/citrus project on GitHub, so that it provides development support for anyone who wants to develop or just browse that repository.
It can be enabled in the plugin settings under Language & Frameworks > Citric (Citrus) > The current project is the Citrus GitHub project at /citrusframework/citrus
Of course, some features like inspection reports must be taken with a grain of salt because the Citrus project contains tests and test resources that are specified in an incorrect way intentionally, so that it can test various fault scenarios.