Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

    • -1
    • +2
    ./component/mail/MailBatchConsumerTest.java
    • -0
    • +1
    ./component/mail/MailBindingAttachmentFileTest.java
    • -0
    • +1
    ./component/mail/MailCommitOnCompletionTest.java
    • -1
    • +2
    ./component/mail/MailConsumerUnsupportedCharsetTest.java
    • -0
    • +1
    ./component/mail/MailConvertersTest.java
    • -1
    • +2
    ./component/mail/MailDoNotDeleteIfProcessFailsTest.java
    • -0
    • +1
    ./component/mail/MailFetchSizeTest.java
    • -0
    • +1
    ./component/mail/MailFetchSizeZeroTest.java
    • -1
    • +2
    ./component/mail/MailMaxMessagesPerPollTest.java
    • -0
    • +1
    ./component/mail/MailPollEnrichNoMailTest.java
    • -0
    • +1
    ./component/mail/MailPollEnrichTest.java
    • -0
    • +1
    ./component/mail/MailProcessOnlyUnseenMessagesTest.java
    • -0
    • +1
    ./component/mail/MailSearchTermUriConfigLast24HoursTest.java
    • -0
    • +1
    ./component/mail/MailSearchTermUriConfigTest.java
  1. … 2759 more files in changeset.
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

    • -1
    • +2
    ./component/mail/MailBatchConsumerTest.java
    • -0
    • +1
    ./component/mail/MailBindingAttachmentFileTest.java
    • -0
    • +1
    ./component/mail/MailCommitOnCompletionTest.java
    • -1
    • +2
    ./component/mail/MailConsumerUnsupportedCharsetTest.java
    • -0
    • +1
    ./component/mail/MailConvertersTest.java
    • -1
    • +2
    ./component/mail/MailDoNotDeleteIfProcessFailsTest.java
    • -0
    • +1
    ./component/mail/MailFetchSizeTest.java
    • -0
    • +1
    ./component/mail/MailFetchSizeZeroTest.java
    • -1
    • +2
    ./component/mail/MailMaxMessagesPerPollTest.java
    • -0
    • +1
    ./component/mail/MailPollEnrichNoMailTest.java
    • -0
    • +1
    ./component/mail/MailPollEnrichTest.java
    • -0
    • +1
    ./component/mail/MailProcessOnlyUnseenMessagesTest.java
    • -0
    • +1
    ./component/mail/MailSearchTermUriConfigLast24HoursTest.java
    • -0
    • +1
    ./component/mail/MailSearchTermUriConfigTest.java
  1. … 2751 more files in changeset.
tiny cleanups: - remove unused import statements - make use of type inference for generic instance creation - remove obsolete 'public', 'static' and 'final' modifiers in interfaces - change field/method accesses to it's owning supertype - remove obsolete type castings - remove obsolete semicolons

    • -1
    • +0
    ./component/mail/MailAttachmentDuplicateNamesTest.java
    • -1
    • +0
    ./component/mail/MailAttachmentRedeliveryTest.java
    • -1
    • +0
    ./component/mail/MailAttachmentTest.java
    • -1
    • +0
    ./component/mail/MailAttachmentsUmlautIssueTest.java
    • -1
    • +0
    ./component/mail/MailComponentTest.java
    • -1
    • +0
    ./component/mail/MailContentTypeResolverTest.java
    • -1
    • +0
    ./component/mail/MailHtmlAttachmentTest.java
    • -1
    • +0
    ./component/mail/MimeMultipartAlternativeTest.java
    • -1
    • +0
    ./component/mail/MimeMultipartAlternativeWithLongerFilenameTest.java
    • -1
    • +0
    ./component/mail/SpringMailSplitAttachmentsTest.java
  1. … 337 more files in changeset.
CAMEL-13987: update keystores used in tests

This changes keystores used in tests:

- changes the type from JKS to PKCS12

- new RSA (2048 bit) key, used to be DSA

- certificate with "localhost" in Subject CN and SubjectAltName:DNS

- certificate valid for 1000 years

  1. … 76 more files in changeset.
CAMEL-13917: Configuring endpoints with consumer. prefix for consumer options is no longer supported as they should be regular options instead. This also avoid reflection setting properties.

  1. … 6 more files in changeset.
CAMEL-13917: Configuring endpoints with consumer. prefix for consumer options is no longer supported as they should be regular options instead. This also avoid reflection setting properties.

    • -2
    • +2
    ./component/mail/AdditionalMailPropertiesTest.java
    • -2
    • +2
    ./component/mail/FromFileSendMailTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentDuplicateNamesTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentRedeliveryTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentsUmlautIssueTest.java
    • -1
    • +1
    ./component/mail/MailBatchConsumerTest.java
    • -1
    • +1
    ./component/mail/MailCollectionHeaderTest.java
    • -1
    • +1
    ./component/mail/MailCommitOnCompletionTest.java
    • -1
    • +1
    ./component/mail/MailConsumerIdleMessageTest.java
    • -1
    • +1
    ./component/mail/MailConsumerUnsupportedCharsetTest.java
    • -1
    • +1
    ./component/mail/MailContentTypeResolverTest.java
    • -1
    • +1
    ./component/mail/MailConvertersTest.java
    • -1
    • +1
    ./component/mail/MailDisconnectTest.java
  1. … 150 more files in changeset.
CAMEL-13870: Fast property configuration of Camel endpoints.

    • -1
    • +1
    ./component/mail/MailComponentTest.java
  1. … 585 more files in changeset.
CAMEL-13870: Fast property configuration of Camel endpoints. Work in progress.

    • -1
    • +1
    ./component/mail/MailComponentTest.java
  1. … 36 more files in changeset.
cleanups for camel-quartz2 to camel-quartz component renaming

    • -1
    • +1
    ./component/mail/MailComponentTest.java
  1. … 225 more files in changeset.
CAMEL-13792 - Rename components to default names, Camel-quartz2 to camel-quartz - Fixed camel-mail test

    • -1
    • +1
    ./component/mail/MailComponentTest.java
CAMEL-13822: Add Override annotations

    • -0
    • +1
    ./component/mail/MailAttachmentDuplicateNamesTest.java
    • -0
    • +1
    ./component/mail/MailAttachmentRedeliveryTest.java
    • -0
    • +1
    ./component/mail/MailAttachmentTest.java
    • -0
    • +1
    ./component/mail/MailAttachmentsUmlautIssueTest.java
    • -0
    • +1
    ./component/mail/MailBatchConsumerTest.java
    • -0
    • +1
    ./component/mail/MailCollectionHeaderTest.java
    • -0
    • +1
    ./component/mail/MailCommitOnCompletionTest.java
    • -0
    • +1
    ./component/mail/MailConsumerUnsupportedCharsetTest.java
    • -0
    • +1
    ./component/mail/MailContentTypeResolverTest.java
    • -0
    • +1
    ./component/mail/MailContentTypeTest.java
    • -0
    • +1
    ./component/mail/MailCustomContentTypeTest.java
    • -0
    • +1
    ./component/mail/MailDefaultDelayForMailConsumeTest.java
    • -0
    • +1
    ./component/mail/MailDisconnectTest.java
    • -0
    • +1
    ./component/mail/MailDoNotDeleteIfProcessFailsTest.java
  1. … 3615 more files in changeset.
Removed unused imports

    • -1
    • +0
    ./component/mail/MailCustomMailSenderTest.java
    • -1
    • +0
    ./component/mail/MailIdempotentRepositoryDuplicateTest.java
    • -1
    • +0
    ./component/mail/MailIdempotentRepositoryTest.java
    • -1
    • +0
    ./component/mail/MailPostProcessActionTest.java
    • -1
    • +0
    ./component/mail/MailSearchTermTest.java
    • -1
    • +0
    ./component/mail/MailSearchTermUriConfigBeanTest.java
    • -1
    • +0
    ./component/mail/MailSortTermTest.java
    • -1
    • +0
    ./component/mail/MailSortTermThreeTest.java
    • -1
    • +0
    ./component/mail/MailSortTermTwoTest.java
    • -1
    • +0
    ./component/mail/MailUsingCustomSessionTest.java
Camel-Mail: Fixed CS

    • -1
    • +1
    ./component/mail/MailCustomMailSenderTest.java
    • -2
    • +3
    ./component/mail/MailIdempotentRepositoryDuplicateTest.java
    • -3
    • +5
    ./component/mail/MailIdempotentRepositoryTest.java
    • -0
    • +1
    ./component/mail/MailPostProcessActionTest.java
    • -3
    • +4
    ./component/mail/MailSearchTermTest.java
    • -10
    • +13
    ./component/mail/MailSortTermTest.java
    • -10
    • +13
    ./component/mail/MailSortTermThreeTest.java
    • -9
    • +11
    ./component/mail/MailSortTermTwoTest.java
    • -2
    • +3
    ./component/mail/MailUsingCustomSessionTest.java
    • -25
    • +20
    ./component/mail/security/SslContextParametersMailRouteTest.java
Camel-Mail: Use BindToRegistry annotation wherever possible

    • -7
    • +4
    ./component/mail/MailCustomMailSenderTest.java
    • -7
    • +2
    ./component/mail/MailIdempotentRepositoryDuplicateTest.java
    • -7
    • +2
    ./component/mail/MailIdempotentRepositoryTest.java
    • -9
    • +3
    ./component/mail/MailPostProcessActionTest.java
    • -7
    • +4
    ./component/mail/MailSearchTermTest.java
    • -5
    • +4
    ./component/mail/MailSearchTermUriConfigBeanTest.java
    • -9
    • +12
    ./component/mail/MailSortTermTest.java
    • -9
    • +11
    ./component/mail/MailSortTermThreeTest.java
    • -9
    • +12
    ./component/mail/MailSortTermTwoTest.java
    • -9
    • +3
    ./component/mail/MailUsingCustomSessionTest.java
CAMEL-13678: Move attachments out of camel-core into camel-attachments. Upgrade cxf codegen plugin.

    • -3
    • +4
    ./component/mail/MailAttachmentDuplicateNamesTest.java
    • -4
    • +5
    ./component/mail/MailAttachmentRedeliveryTest.java
    • -5
    • +6
    ./component/mail/MailAttachmentTest.java
    • -3
    • +4
    ./component/mail/MailAttachmentsUmlautIssueTest.java
    • -2
    • +1
    ./component/mail/MailBindingAttachmentFileTest.java
    • -3
    • +4
    ./component/mail/MailContentTypeResolverTest.java
    • -3
    • +4
    ./component/mail/MailHtmlAttachmentTest.java
    • -35
    • +5
    ./component/mail/MailSplitAttachmentsTest.java
    • -3
    • +4
    ./component/mail/MimeMessageConsumeTest.java
    • -2
    • +3
    ./component/mail/MimeMultipartAlternativeTest.java
    • -2
    • +3
    ./component/mail/MimeMultipartAlternativeWithLongerFilenameTest.java
    • -3
    • +4
    ./component/mail/NestedMimeMessageConsumeTest.java
    • -34
    • +4
    ./component/mail/SpringMailSplitAttachmentsTest.java
  1. … 118 more files in changeset.
CAMEL-13678: Move attachments out of camel-core into camel-attachments.

    • -32
    • +1
    ./component/mail/MailSplitAttachmentsTest.java
    • -31
    • +0
    ./component/mail/SpringMailSplitAttachmentsTest.java
  1. … 8 more files in changeset.
CAMEL-13678: Move attachments out of camel-core into camel-attachments.

    • -3
    • +4
    ./component/mail/MailAttachmentDuplicateNamesTest.java
    • -4
    • +5
    ./component/mail/MailAttachmentRedeliveryTest.java
    • -5
    • +6
    ./component/mail/MailAttachmentTest.java
    • -3
    • +4
    ./component/mail/MailAttachmentsUmlautIssueTest.java
    • -2
    • +1
    ./component/mail/MailBindingAttachmentFileTest.java
    • -3
    • +4
    ./component/mail/MailContentTypeResolverTest.java
    • -3
    • +4
    ./component/mail/MailHtmlAttachmentTest.java
    • -5
    • +6
    ./component/mail/MailSplitAttachmentsTest.java
    • -3
    • +4
    ./component/mail/MimeMessageConsumeTest.java
    • -2
    • +3
    ./component/mail/MimeMultipartAlternativeTest.java
    • -2
    • +3
    ./component/mail/MimeMultipartAlternativeWithLongerFilenameTest.java
    • -3
    • +4
    ./component/mail/NestedMimeMessageConsumeTest.java
    • -5
    • +6
    ./component/mail/SpringMailSplitAttachmentsTest.java
  1. … 40 more files in changeset.
CAMEL-13715 - Remove dummyTrustManager from camel-mail

    • -18
    • +1
    ./component/mail/MailComponentTest.java
    • -23
    • +3
    ./component/mail/MailEndpointTlsTest.java
  1. … 7 more files in changeset.
Camel-Mail: Fixed test

    • -5
    • +0
    ./component/mail/MailUsingOwnComponentTest.java
CAMEL-13336: update license headers

    • -1
    • +1
    ./component/mail/AdditionalMailPropertiesTest.java
    • -1
    • +1
    ./component/mail/DetermineContentTypeIssueTest.java
    • -1
    • +1
    ./component/mail/FromFileSendMailTest.java
    • -1
    • +1
    ./component/mail/InvalidConfigurationTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentDuplicateNamesTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentRedeliveryTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentTest.java
    • -1
    • +1
    ./component/mail/MailAttachmentsUmlautIssueTest.java
    • -1
    • +1
    ./component/mail/MailBatchConsumerTest.java
    • -1
    • +1
    ./component/mail/MailBindingAttachmentFileTest.java
    • -1
    • +1
    ./component/mail/MailCollectionHeaderTest.java
    • -1
    • +1
    ./component/mail/MailCommitOnCompletionTest.java
    • -1
    • +1
    ./component/mail/MailComponentRecipientSetTest.java
    • -1
    • +1
    ./component/mail/MailComponentTest.java
    • -1
    • +1
    ./component/mail/MailConsumerIdleMessageTest.java
  1. … 17910 more files in changeset.
Removing unnecessary import

    • -2
    • +0
    ./component/mail/MailRecipientsTest.java
Revert "Pick up recipient headers from configuration for camel-mail, if they are not first specified as a header"

This reverts commit 4aa04cdccd85e6e6f4083b8ce382ca4034aca332.

    • -3
    • +4
    ./component/mail/MailRecipientsTest.java
  1. … 1 more file in changeset.
Revert "Pick up recipient headers from configuration for camel-mail, if they are not first specified as a header"

This reverts commit 4975484654d7c9d2e0a6379afa58748fda60d019.

    • -3
    • +4
    ./component/mail/MailRecipientsTest.java
  1. … 1 more file in changeset.
Pick up recipient headers from configuration for camel-mail, if they are not first specified as a header

    • -4
    • +3
    ./component/mail/MailRecipientsTest.java
  1. … 1 more file in changeset.
Pick up recipient headers from configuration for camel-mail, if they are not first specified as a header

    • -4
    • +3
    ./component/mail/MailRecipientsTest.java
  1. … 1 more file in changeset.
CAMEL-13153 - Strip newlines from exchange headers

    • -0
    • +59
    ./component/mail/MailRecipientsTest.java
  1. … 3 more files in changeset.
CAMEL-13153 - Strip newlines from exchange headers

    • -0
    • +59
    ./component/mail/MailRecipientsTest.java
  1. … 3 more files in changeset.
CAMEL-13153 - Strip newlines from exchange headers

    • -0
    • +59
    ./component/mail/MailRecipientsTest.java
  1. … 3 more files in changeset.
CAMEL-13153 - Strip newlines from exchange headers

    • -0
    • +59
    ./component/mail/MailRecipientsTest.java
  1. … 3 more files in changeset.
Fixed CS for Camel-mail

    • -2
    • +2
    ./component/mail/MultipleDestinationConsumeTest.java
  1. … 6 more files in changeset.