Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4184 Fix first set of issues reported by SonarCloud (#2398)

* DROOLS-4181 Fix blocker issues reported by SonarCloud

* DROOLS-4181 Fix critical issues reported by SonarCloud

* DROOLS-4181 Fix first set of major issues reported by SonarCloud

* DROOLS-4181 Fix second set of major issues reported by SonarCloud

* DROOLS-4181 Fix third set of major issues reported by SonarCloud

* DROOLS-4181 Fix test related to SonarCloud fixes.

* DROOLS-4181 Fix downstream problems.

  1. … 134 more files in changeset.
[DROOLS-2831] avoid holding references to working memory and fact handles in EvaluatorWrapper

  1. … 13 more files in changeset.
[FINDBUGS] First bunch of fixes for problems reported by FindBugs in drools-core (#1971)

* [findbugs] Create classloaders only inside doPrivileged block

* [findbugs] Use correct map for accumulate imports initialization

* [findbugs] Uncallable method defined in anonymous class

* [findbugs] Impossible cast

* [findbugs] Code checks for specific values returned by compareTo

* [findbugs] Bad attempt to compute abs. value of signed 32-bit hashcode

* [findbugs] Nullcheck of value previously dereferenced

* [findbugs] Uninit. read of field method called from constr. of superclass

* [findbugs] equals overrides equals in superclass and may not be symmetric

* [findbugs] Possible null pointer dereference

* [findbugs] Fix failing tests

* [findbugs] Should be a static inner class

* [findbugs] Private method is never called

* [findbugs] Inefficient use of keySet iterator instead of entrySet iterator

* [findbugs] Private method is never called

* [findbugs] Method concatenates strings using + in a loop

* [findbugs] Method invokes inefficient Number constructor

* [findbugs] Boxing/unboxing to parse a primitive

* [findbugs] Boxed value is unboxed and then immediately reboxed

* [findbugs] Other boxing/unboxing issues

* [findbugs] Method allocates a boxed primitive just to call toString

* [findbugs] Fix test

* [findbugs] Sequence of calls to concurrent abstraction may not be atomic

* [findbugs] Possible double check of field (double-checked locking)

* [findbugs] Method does not release lock on all exception paths

* [findbugs] Class is Serializable, but doesn't define serialVersionUID

* [findbugs] Method ignores exceptional return value

* [findbugs] Method uses the same code for two branches

* [findbugs] Write to static field from instance method

* Revert to instanceOf comparison

  1. … 60 more files in changeset.
[DROOLS-2704] support Java 8 date API in dates comparison

(cherry picked from commit b4fbbb77765ebe8c60aeca2f7a66ee8509e912a8)

    • -0
    • +53
    ./BaseLocalDateClassFieldReader.java
  1. … 7 more files in changeset.
[DROOLS-2704] support Java 8 date API in dates comparison

(cherry picked from commit b4fbbb77765ebe8c60aeca2f7a66ee8509e912a8)

    • -0
    • +53
    ./BaseLocalDateClassFieldReader.java
  1. … 7 more files in changeset.
[DROOLS-2704] support Java 8 date API in dates comparison

    • -0
    • +53
    ./BaseLocalDateClassFieldReader.java
  1. … 7 more files in changeset.
[DROOLS-1490] improve temporal operators to support java.time classes (#1157)

    • -0
    • +53
    ./BaseLocalDateTimeClassFieldReader.java
    • -0
    • +52
    ./BaseZonedDateTimeClassFieldReader.java
  1. … 2 more files in changeset.
changes in license header closes #586

  1. … 5157 more files in changeset.
[DROOLS-944] fix FieldReaders serialization

    • -18
    • +3
    ./SelfReferenceClassFieldReader.java
  1. … 17 more files in changeset.
[DROOLS-944] fix FieldReaders serialization

(cherry picked from commit f0b787326ab94f22764843827b242c2ff3e3fe41)

    • -18
    • +3
    ./SelfReferenceClassFieldReader.java
  1. … 17 more files in changeset.
Add missing ASL licenses

* fixed failing tests caused by aditional text in

some .drl files

* drools-templates module is still missing some headers

in .drl files, becuase of bug in the parser. These will

be fixed by additional PR

  1. … 2516 more files in changeset.
[BZ-1156297][BZ-1182517] fix ClassLoader leak caused by use of thread local + improve error messages

(cherry picked from commit 2d86a327fae6fd0496ad5241191e23173a892f1a)

    • -12
    • +25
    ./MVELNumberClassFieldReader.java
    • -14
    • +29
    ./MVELObjectClassFieldReader.java
  1. … 41 more files in changeset.
[BZ-1156297][BZ-1182517] fix ClassLoader leak caused by use of thread local + improve error messages

    • -12
    • +25
    ./MVELNumberClassFieldReader.java
    • -14
    • +29
    ./MVELObjectClassFieldReader.java
  1. … 41 more files in changeset.
major cleanup

  1. … 15 more files in changeset.
[BZ-1072629] fix compilation issue when using a class extending java.util.Date (cherry picked from commit 36c5478d3f506ae1aef637d5842a7d89fdaa6cbb)

  1. … 1 more file in changeset.
[BZ-1072629] fix compilation issue when using a class extending java.util.Date

  1. … 1 more file in changeset.
major cleanup

  1. … 236 more files in changeset.
major cleanup 4.x legacy API

  1. … 742 more files in changeset.
BZ-991058: securing additional calls to MVEL eval/execute

  1. … 17 more files in changeset.
BZ-991058: securing additional calls to MVEL eval/execute (cherry picked from commit da5981a02058ab5b30ee2eb490d23a0de8162199)

Conflicts:

drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java

  1. … 17 more files in changeset.
[DROOLS-216][DROOLS-217] fix EvaluatorWrapper when accessing map's values

    • -0
    • +154
    ./ConstantValueReader.java
  1. … 3 more files in changeset.
[DROOLS-216][DROOLS-217] fix EvaluatorWrapper when accessing map's values (cherry picked from commit d4dddf4b562fa816451e91371d9f7089440164c9)

    • -0
    • +154
    ./ConstantValueReader.java
  1. … 3 more files in changeset.
[DROOLS-94] fix BaseObjectClassFieldReader when reading numeric values

  1. … 1 more file in changeset.
Resolve split-packages: move everything from drools-core under org.drools.core: move classes directly under org.drools

  1. … 491 more files in changeset.
Resolve split-packages: move everything from drools-core under org.drools.core: move org.drools.rule

  1. … 605 more files in changeset.
moved spi to core.spi, as refactoring was half way

  1. … 588 more files in changeset.
Resolve split-packages: move everything from drools-core under org.drools.core: move org.drools.common

  1. … 621 more files in changeset.
Resolve split-packages: move everything from drools-core under org.drools.core: move org.drools.base

  1. … 541 more files in changeset.