Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4554 Port SonarCloud fixes from kogito-runtimes (#2547)

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

    • -135
    • +132
    ./ClassFieldAccessorFactory.java
    • -1
    • +3
    ./WrappedStatefulKnowledgeSessionForRHS.java
  1. … 101 more files in changeset.
[DROOLS-4447] fix parsing of mvel consequence when using a getter inside a modify

(cherry picked from commit 55edee1086e2bf4aaf8cc608c103dbeb1ffe7ee6)

(cherry picked from commit 018fd01ab5aedffcb8b517edadf8659dec2c12a6)

  1. … 1 more file in changeset.
[DROOLS-4447] fix parsing of mvel consequence when using a getter inside a modify

  1. … 1 more file in changeset.
[DROOLS-4447] fix parsing of mvel consequence when using a getter inside a modify

(cherry picked from commit 55edee1086e2bf4aaf8cc608c103dbeb1ffe7ee6)

  1. … 1 more file in changeset.
[DROOLS-4388] make drools agenda-filters serializable (#2491)

* [DROOLS-4388] make drools agenda-filters serializable

* [DROOLS-4388] make drools agenda-filters serializable

    • -6
    • +24
    ./RuleNameEndsWithAgendaFilter.java
    • -11
    • +24
    ./RuleNameMatchesAgendaFilter.java
    • -130
    • +0
    ./RuleNameSerializationAgendaFilter.java
    • -4
    • +17
    ./RuleNameStartsWithAgendaFilter.java
  1. … 6 more files in changeset.
[DROOLS-4343] Change fact handle id type to long

    • -11
    • +11
    ./accumulators/JavaAccumulatorFunctionExecutor.java
    • -11
    • +11
    ./accumulators/MVELAccumulatorFunctionExecutor.java
  1. … 31 more files in changeset.
DROOLS-4343 Change fact handle id type to long (#2468)

* DROOLS-4343 Change fact handle id type to long

* DROOLS-4343 Change fact handle id type to long

    • -3
    • +3
    ./accumulators/JavaAccumulatorFunctionExecutor.java
    • -3
    • +3
    ./accumulators/MVELAccumulatorFunctionExecutor.java
  1. … 33 more files in changeset.
[DROOLS-4277] add min and max accumulate functions specific for Integ… (#2421)

* [DROOLS-4277] add min and max accumulate functions specific for Integers and Longs

* [DROOLS-4277] add min and max accumulate functions specific for Integers and Longs

    • -0
    • +87
    ./accumulators/IntegerMaxAccumulateFunction.java
    • -0
    • +87
    ./accumulators/IntegerMinAccumulateFunction.java
    • -0
    • +87
    ./accumulators/LongMaxAccumulateFunction.java
    • -0
    • +87
    ./accumulators/LongMinAccumulateFunction.java
  1. … 3 more files in changeset.
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.

    • -601
    • +608
    ./WrappedStatefulKnowledgeSessionForRHS.java
    • -0
    • +3
    ./evaluators/SetEvaluatorsDefinition.java
    • -0
    • +3
    ./extractors/BaseBooleanClassFieldReader.java
    • -0
    • +3
    ./extractors/BaseBooleanClassFieldWriter.java
    • -0
    • +3
    ./extractors/BaseByteClassFieldReader.java
    • -0
    • +3
    ./extractors/BaseByteClassFieldWriter.java
    • -0
    • +3
    ./extractors/BaseCharClassFieldReader.java
    • -0
    • +3
    ./extractors/BaseCharClassFieldWriter.java
    • -0
    • +3
    ./extractors/BaseDoubleClassFieldReader.java
    • -0
    • +3
    ./extractors/BaseDoubleClassFieldWriter.java
    • -0
    • +3
    ./extractors/BaseFloatClassFieldReader.java
    • -0
    • +3
    ./extractors/BaseFloatClassFieldWriter.java
  1. … 134 more files in changeset.
[DROOLS-4150] make FactHandles serializable (#2383)

* [DROOLS-4150] make FactHandles serializable

* [DROOLS-4150] make FactHandles serializable

    • -1
    • +1
    ./StandardQueryViewChangedEventListener.java
  1. … 33 more files in changeset.
DROOLS-3429 Fix serialization of compiled invokers when SecurityManager is enabled (#2207)

* Serialization of rule packages always failed when using a SecurityManager; extended the special handling of CompiledInvokers to also consider SafePredicateExpression and SafeConsequence wrappers

* DROOLS-3429 Fix serialization when SecurityManager is enabled

    • -2
    • +1
    ./accumulators/JavaAccumulatorFunctionExecutor.java
  1. … 14 more files in changeset.
[DROOLS-2634] implement dynamic timers in executable model

  1. … 8 more files in changeset.
[DROOLS-2634] implement dynamic timers in executable model

(cherry picked from commit c8f76c7c0b18695f4b0674f45be90c123649be2b)

  1. … 8 more files in changeset.
[DROOLS-2634] allow to use also fields and globals in temporal expressions

(cherry picked from commit 1c3dc46b73abff05d1143b5f8deb53cff87f2e82)

    • -0
    • +3
    ./evaluators/PointInTimeEvaluator.java
  1. … 19 more files in changeset.
[DROOLS-2634] allow to use also fields and globals in temporal expressions

    • -0
    • +3
    ./evaluators/PointInTimeEvaluator.java
  1. … 19 more files in changeset.
[RHDM-717] allow to invoke a live query with null arguments

  1. … 1 more file in changeset.
[DROOLS-2828] fix modify of an object with mutable hashcode in equality mode when using mvel dialect

  1. … 1 more file in changeset.
DROOLS-2607 Add rounding to the BigDecimal average accumulator (#2017)

* Add rounding to the BigDecimal average accumulator

* DROOLS-2607 Add reproducer

    • -3
    • +3
    ./accumulators/BigDecimalAverageAccumulateFunction.java
  1. … 1 more file in changeset.
[DROOLS-2831] avoid holding references to working memory and fact handles in EvaluatorWrapper

    • -10
    • +13
    ./evaluators/IsAEvaluatorDefinition.java
    • -0
    • +4
    ./evaluators/PointInTimeEvaluator.java
  1. … 9 more files in changeset.
[DROOLS-2634] various fixes to cep in executable model + minor refactor

  1. … 9 more files in changeset.
[DROOLS-2828] fix modify of an object with mutable hashcode in equality mode when using mvel dialect (#2011)

  1. … 1 more file in changeset.
[DROOLS-2595] average accumulate function should return null instead of zero when no facts are matched

    • -2
    • +1
    ./accumulators/AverageAccumulateFunction.java
  1. … 1 more file 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
    • +1
    ./accumulators/CountAccumulateFunction.java
    • -1
    • +1
    ./extractors/BaseByteClassFieldReader.java
    • -1
    • +1
    ./extractors/BaseCharClassFieldReader.java
    • -1
    • +1
    ./extractors/BaseIntClassFieldReader.java
    • -1
    • +1
    ./extractors/BaseLongClassFieldReader.java
    • -14
    • +7
    ./extractors/BaseObjectClassFieldWriter.java
    • -1
    • +1
    ./extractors/BaseShortClassFieldReader.java
  1. … 54 more files in changeset.
[DROOLS-1299] add empty constructor for serialization to StrEvaluator

    • -0
    • +2
    ./evaluators/StrEvaluatorDefinition.java
[DROOLS-2704] support Java 8 date API in dates comparison

(cherry picked from commit b4fbbb77765ebe8c60aeca2f7a66ee8509e912a8)

    • -5
    • +17
    ./evaluators/PointInTimeEvaluator.java
    • -0
    • +53
    ./extractors/BaseLocalDateClassFieldReader.java
  1. … 3 more files in changeset.
[DROOLS-2704] support Java 8 date API in dates comparison

(cherry picked from commit b4fbbb77765ebe8c60aeca2f7a66ee8509e912a8)

    • -5
    • +17
    ./evaluators/PointInTimeEvaluator.java
    • -0
    • +53
    ./extractors/BaseLocalDateClassFieldReader.java
  1. … 3 more files in changeset.
[DROOLS-2704] support Java 8 date API in dates comparison

    • -5
    • +17
    ./evaluators/PointInTimeEvaluator.java
    • -0
    • +53
    ./extractors/BaseLocalDateClassFieldReader.java
  1. … 3 more files in changeset.
[RHBRMS-3099] NullPointerException in BaseClassFieldReader.writeExternal() when a global method is used in LHS and serialize package (#1931)

[DROOLS-2517] NullPointerException in BaseClassFieldReader.writeExternal() when a global method is used in LHS and serialize package (#1885)

  1. … 2 more files in changeset.
[DROOLS-2575] various fix on executable model generation (#1936)

* [DROOLS-2575] fix class loading for mvel consequences in executable model

* [DROOLS-2575] various fix on executable model generation

  1. … 29 more files in changeset.
[DROOLS-2551][DROOLS-2575] various fixes in executable model generation

  1. … 173 more files in changeset.