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

    • -178
    • +168
    ./traits/AbstractPropertyWrapperClassBuilderImpl.java
    • -12
    • +12
    ./traits/AbstractProxyClassBuilderImpl.java
    • -60
    • +38
    ./traits/AbstractTraitFactory.java
    • -12
    • +12
    ./traits/TraitMapPropertyWrapperClassBuilderImpl.java
    • -3
    • +3
    ./traits/TraitMapProxyClassBuilderImpl.java
    • -11
    • +11
    ./traits/TraitTriplePropertyWrapperClassBuilderImpl.java
    • -14
    • +14
    ./traits/TraitTripleProxyClassBuilderImpl.java
  1. … 91 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.

  1. … 148 more files in changeset.
[RHBRMS-3133] [DROOLS-3050] allow to add via annotation a serialVersionUID on classes generated from declared types (#2363)

  1. … 1 more file in changeset.
Revert "[RHBRMS-3133] [DROOLS-3050] allow to add via annotation a serialVersionUID on classes generated from declared types"

This reverts commit 44f32dc76bbb295d6fce3c85afbc1f1c184e8433.

  1. … 1 more file in changeset.
[RHBRMS-3133] [DROOLS-3050] allow to add via annotation a serialVersionUID on classes generated from declared types

  1. … 1 more file in changeset.
[DROOLS-3050] allow to add via annotation a serialVersionUID on classes generated from declared types (#2089)

  1. … 2 more files in changeset.
[findbugs] Fix externalizable classes and equals(null) (#1983)

* [findbugs] Class is Externalizable but doesn't define a void constructor

* [findbugs] equals() method does not check for null argument

  1. … 8 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

    • -532
    • +514
    ./traits/AbstractTraitFactory.java
    • -81
    • +69
    ./traits/TraitClassBuilderImpl.java
    • -15
    • +15
    ./traits/TraitCoreWrapperClassBuilderImpl.java
  1. … 56 more files in changeset.
Remove $context field from enums (#1877)

(cherry picked from commit 4f5dfdda9b04ebff60e2a320b51c5d6e83691715)

Remove $context field from enums (#1877)

fix inheritance of type declaration in executable model

  1. … 5 more files in changeset.
allow accessing declared type as fact types

  1. … 5 more files in changeset.
allow accessing declared type as fact types

  1. … 5 more files in changeset.
allow accessing declared type as fact types

  1. … 5 more files in changeset.
upgrade to java 9 (#1572)

    • -14
    • +14
    ./traits/TraitMapProxyClassBuilderImpl.java
  1. … 2 more files in changeset.
AF-593+: Move XStreamUtils to kie-soup. (#1562)

  1. … 24 more files in changeset.
[DROOLS-1764] Use XStreamUtils.createTrustingXStream(..) helper

  1. … 11 more files in changeset.
Experimental : Improve Traits with Map Core (#1542)

    • -0
    • +205
    ./traits/AbstractPropertyWrapperClassBuilderImpl.java
    • -0
    • +690
    ./traits/AbstractProxyClassBuilderImpl.java
    • -535
    • +525
    ./traits/AbstractTraitFactory.java
  1. … 17 more files in changeset.
AF-593: Decouple DMO from Drools (#1444)

  1. … 169 more files in changeset.
[RHBRMS-2784] centralize xstream initialization (#1428)

[RHBRMS-2784] centralize xstream initialization

  1. … 18 more files in changeset.
RHBRMS-2784 - XStream: DoS when unmarshalling void type (#1392) (#1420)

(cherry picked from commit 4282224ab517e83547312183014abed608273ea3)

[RHBRMS-2784] centralize xstream initialization (#1428)

[RHBRMS-2784] centralize xstream initialization

(cherry picked from commit e3e7c44515949d8fb25978cb2040c50e7c7b47b3)

  1. … 18 more files in changeset.
RHBRMS-2784 - XStream: DoS when unmarshalling void type (#1392) (#1420)

  1. … 15 more files in changeset.
RHBRMS-2784 - XStream: DoS when unmarshalling void type (#1392)

  1. … 11 more files in changeset.
[DROOLS-1659] parallel rules build (#1368)

[DROOLS-1659] parallel rules build

  1. … 47 more files in changeset.
[DROOLS-1431] enable property reactivity by default (#1127)

  1. … 27 more files in changeset.
[DROOLS-1446] ruleunit implementation (#1107)

  1. … 205 more files in changeset.
[DROOLS-1438] Make property reactivity to work even when the property setter is in an inherited class (#1098)

  1. … 14 more files in changeset.
DROOLS-1302 Adapting DefaultBeanClassBuilder to new AbstractReactiveObject (#996)

[DROOLS-1302] normalize multiple reactive changes on the same object

  1. … 9 more files in changeset.
[DROOLS-1255] remove some of the java.beans usage (#879) (#882)

* there are still few instances remaining which can

not be just removed, but we need proper replacement

for those

    • -2
    • +0
    ./traits/TraitCoreWrapperClassBuilderImpl.java
    • -4
    • +0
    ./traits/TraitMapPropertyWrapperClassBuilderImpl.java
    • -3
    • +0
    ./traits/TraitMapProxyClassBuilderImpl.java
    • -4
    • +0
    ./traits/TraitTriplePropertyWrapperClassBuilderImpl.java
    • -4
    • +0
    ./traits/TraitTripleProxyClassBuilderImpl.java
  1. … 21 more files in changeset.
[DROOLS-1261] browse trait class hierarchy when creating a mixin and implement conflict resolution strategy

(cherry picked from commit e7a8aaac83ea0e1549d3ebcfa62ad18ea50fa528)

Conflicts:

drools-compiler/src/test/java/org/drools/compiler/factmodel/traits/TraitTest.java

    • -100
    • +51
    ./DefaultBeanClassBuilder.java
    • -0
    • +229
    ./traits/TraitBuilderUtil.java
    • -173
    • +74
    ./traits/TraitMapProxyClassBuilderImpl.java
    • -124
    • +50
    ./traits/TraitTripleProxyClassBuilderImpl.java
  1. … 4 more files in changeset.