Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONARJAVA-4951 Replace InternalCheckVerifier with JavaCheckVerifier #4786

Merged
merged 105 commits into from
May 13, 2024

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    f482974 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    002b832 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b4a3ef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    500f094 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8f3873 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a9e72e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3d05d5b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5c40766 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e2d02ed View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f4065dd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3f8d434 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6b4717a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    67d5243 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    dc6a1fc View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f8858f4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    2d25a2a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f8ea580 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e3128c7 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    cb6e34c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d690cd1 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    71cf454 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b524c4b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    4ea7c5c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    358c5a1 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ace92d6 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f8095b7 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    93daa24 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    6468a55 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    5bdc5c9 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    cfbbcf2 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    ef2fa1d View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    80ecff1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    3eabd03 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    3f85be3 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    2a9cec2 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    49f2e7b View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    b66cca0 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ce067fa View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    c953c43 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    8e92a97 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    f5f9d04 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    25c9374 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    16e9635 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    7ceef99 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    b751275 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    4d3a6ea View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    b3ed208 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    3649a1a View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    9f03da7 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    74be609 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    d1358c4 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    7ad4b4f View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    3656164 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    2514595 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    f40e698 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    bfe8416 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    ca4187a View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    7cceaa1 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    6dc2508 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    d99ed6f View commit details
    Browse the repository at this point in the history
  61. Batch of edits to sample files

    sample file fixes
    
    Fix StringLiteralDuplicatedCheckTest
    
    Fix EncryptionAlgorithmCheckTest
    
    Fix IdenticalOperandOnBinaryExpressionCheckTest
    
    Fix UnusedLocalVariableCheckTest
    
    Fix LoggedRethrownExceptionsCheckTest
    
    Fix DuplicateConditionIfElseIfCheckTest
    
    Fix SystemOutOrErrUsageCheckTest
    
    Fix AssertionTypesCheckTest
    
    Fix NonSingletonAutowiredInSingletonCheckTest
    
    Fix BlockingOperationsInVirtualThreadsCheckTest
    
    Fix TooLongLineCheckTest
    
    Fix TextBlocksInComplexExpressionsCheckTest
    
    Fix EmptyBlockCheckTest
    
    Fix EmptyDatabasePasswordCheckTest
    
    Fix EmptyLineRegexCheckTest
    
    Fix RandomizedTestDataCheckTest
    
    Fix JUnitCompatibleAnnotationsCheckTest
    
    Fix SpringIncompatibleTransactionalCheckTest
    
    Fix TryWithResourcesCheckTest
    
    Fix InstanceOfPatternMatchingCheckTest
    
    Partially Fix CombineCatchCheckTest
    
    Fix SpecializedFunctionalInterfacesCheckTest
    
    Fix MethodWithExcessiveReturnsCheckTest
    
    Fix IgnoredTestsCheckTest
    
    Fix AssertJAssertionsInConsumerCheckTest
    
    Fix DoubleBraceInitializationCheckTest
    
    Fix ClassImportCouplingCheckTest
    
    Fix DuplicatesInCharacterClassCheckTest
    
    Fix AssertJConsecutiveAssertionCheckTest
    
    Fix UselessParenthesesCheckTest
    
    Fix ForLoopVariableTypeCheckTest
    
    Fix NestedIfStatementsCheckTest
    
    Fix EscapedUnicodeCharactersCheckTest
    
    Partially Fix AssertJChainSimplificationCheckTest
    
    Fix StaticFieldUpdateInConstructorCheckTest
    
    Fix DoubleCheckedLockingCheckTest
    
    Fix CommentedOutCodeLineCheckTest
    
    Fix CounterModeIVShouldNotBeReusedCheckTest
    
    Fix NestedEnumStaticCheckTest
    
    Fix PossessiveQuantifierContinuationCheckTest
    johann-beleites-sonarsource committed May 13, 2024
    Configuration menu
    Copy the full SHA
    af89a7e View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    d697522 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    66cc816 View commit details
    Browse the repository at this point in the history
  64. Swap message and args of Noncompliant comments, which is the format s…

    …upported by the analyzer-commons test library
    johann-beleites-sonarsource committed May 13, 2024
    Configuration menu
    Copy the full SHA
    290f202 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    96ac2c5 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    3169f51 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    bd6c76c View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    c66d1d1 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    4c6d409 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    5a7df81 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    873a590 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    56ff2c3 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    d540820 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    f935a75 View commit details
    Browse the repository at this point in the history
  75. Fix CommentLinesVisitor. If there is a case:

    ```
    someCode(); // Noncompliant
    int a,b;
    ```
    Comment is added to the list of trivias twice.
    irina-batinic-sonarsource authored and johann-beleites-sonarsource committed May 13, 2024
    Configuration menu
    Copy the full SHA
    5f19c3e View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    2942829 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    42a6986 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    9ce452c View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    f432765 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    43fd632 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    a30f8b4 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    baef0d9 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    049334b View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    963a857 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    d51ba0e View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    f124dff View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    0b73e16 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    f3ea7fa View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    57096a7 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    a01f5ff View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    e1ebef5 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    223840a View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    aa945c5 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    855cf6a View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    d3a2970 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    e68d76e View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    4ee2246 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    d6c1a3f View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    6e7dcac View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    39fb23f View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    a12bee7 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    9c9b65e View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    477be0d View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    d26fc51 View commit details
    Browse the repository at this point in the history
  105. Use new version of analyzer-commons. Remove unnecessary cast to Multi…

    …FileVerifier when adding quickfix to the issue.
    irina-batinic-sonarsource committed May 13, 2024
    Configuration menu
    Copy the full SHA
    c61fae7 View commit details
    Browse the repository at this point in the history