Clone Tools
  • last updated 24 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improved: Corrected all redundant modifiers occurences in framework component. Also, fixed some other checkstyle line formatting and spacing issues. (OFBIZ-11925)

  1. … 59 more files in changeset.
Improved: Corrected some line is longer than 150 characters checkstyle issues in framework component. Also fixed some extra spaces and naming conventions related checkstyle issues. (OFBIZ-11921)

  1. … 118 more files in changeset.
Improved: Corrected some single line statements to fix checkstyle issues, also removed some remaining extra spaces from code to avoid checkstyle erros in framework component. (OFBIZ-11886)

  1. … 166 more files in changeset.
Improved: Corrected checkstyle formatting issues, 'is preceded/not preceded with whitespace' for framework component. (OFBIZ-11874) This fixes following checkstyle issues: '{' is not preceded with whitespace. '{' is not followed by whitespace. '}' is not followed by whitespace. '}' is not preceded with whitespace. 'typecast' is not followed by whitespace. 'try' is not followed by whitespace. ';' is preceded with whitespace.

  1. … 160 more files in changeset.
Improved: Made MODULE as private data member of class instead of public in all framework components. (OFBIZ-11739) This will reduce checkstlye issues. Thanks Jacques for review.

  1. … 398 more files in changeset.
Improved: replaces module by MODULE everywhere

  1. … 682 more files in changeset.
Improved: Replace getLocation with location in ‘ComponentConfig.WebappInfo’ (OFBIZ-11192)

Use Path instead of String + File.

  1. … 5 more files in changeset.
Fixed: Remove dependency management from ‘ComponentContainer’ (OFBIZ-11275)

This fixes a bug identified by ‘testCheckDependencyForComponent’ where

the dependencies declared inside component configurations were not

impacting the component retrieval order.

Component configurations stored in the cache can now be properly

sorted based on their <depends-on> declaration. The new

‘ComponentConfig#sortDependencies’ method returns a collection of

component configuration following a topological ordering.

In case of dependency cycle we throw an error.

  1. … 3 more files in changeset.
Reverted: "Fixed: Remove dependency management from ‘ComponentContainer’" (OFBIZ-11275)

This reverts commit 3d3533cf5e04b303e5d7a4b0f178c54f10ddf620.

‘./gradlew cleanAll loadAll’ do not work anymore.

  1. … 3 more files in changeset.
Fixed: Remove dependency management from ‘ComponentContainer’ (OFBIZ-11275)

This fixes a bug identified by ‘testCheckDependencyForComponent’ where

the dependencies declared inside component configurations were not

impacting the component retrieval order.

Component configurations stored in the cache can now be properly

sorted based on their <depends-on> declaration. The new

‘ComponentConfig#sortDependencies’ method returns a collection of

component configuration following a topological ordering.

In case of dependency cycle we throw an error.

  1. … 2 more files in changeset.
Improved: Turn ‘DependsOnInfo’ into a String (OFBIZ-11264)

`depends-on` XML tag doesn't have any `loader` or `location` attribute so

DependsOnInfo does not need to extend ResourceInfo.

When removing the class derivation, DependsOnInfo now becomes a simple box

containing a String attribute. In order to make the manipulation of dependency

information simpler, the attribute is now inlined as a simple String value.

Thanks: Samuel Trégouët for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1869185 13f79535-47bb-0310-9956-ffa450edef68

  1. … 1 more file in changeset.
Improved: Add ‘ComponentConfig#toString’ to ease debugging (OFBIZ-11264)

Thanks: Samuel Trégouët for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1869184 13f79535-47bb-0310-9956-ffa450edef68

Improved: Adapt ‘ContainerConfig#getConfigurations’ (OFBIZ-11256)

Remove unused declared ‘ContainerException’ in signature and fix the

javadoc to match the actual specification.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868630 13f79535-47bb-0310-9956-ffa450edef68

  1. … 2 more files in changeset.
Improved: Refactor ‘ContainerConfig’ class (OFBIZ-11256)

This removes some code duplication, make things immutable and add some javadoc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868601 13f79535-47bb-0310-9956-ffa450edef68

  1. … 9 more files in changeset.
Improved: Refactor ‘ComponentConfig.ClasspathInfo’ (OFBIZ-11192)(OFBIZ-11238)

The validity checks have been moved at construction time instead of

relying on client code to ensure that the class path information are

sound.

A new ‘ComponentConfig.ClasspathInfo.Type’ enum has been defined to

improve type safety.

The location of the class path information is now using a

‘java.nio.file.Path’ class instance.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868030 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
Improved: Specify that the component dependencies are never ‘null’ (OFBIZ-11238)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868029 13f79535-47bb-0310-9956-ffa450edef68

Improved: Use ‘Path’ for component config ‘rootLocation’ attribute (OFBIZ-11192)

The method ‘ComponentConfig#getRootLocation’ has been removed

and replaced by ‘ComponentConfig#rootLocation’.

The callers have been adapted.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868028 13f79535-47bb-0310-9956-ffa450edef68

  1. … 8 more files in changeset.
Improved: Refactor ‘ComponentLoaderConfig’ class (OFBIZ-11192)

This redefines the ‘ComponentLoaderConfig#ComponentDef’ class by

removing its unused name attribute.

The ‘java.nio.file’ API has been used to represent the relative path

of a component location.

Various cleanups and Javadoc added.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867394 13f79535-47bb-0310-9956-ffa450edef68

  1. … 1 more file in changeset.
Improved: Inline ‘UtilGenerics#checkMap’ (OFBIZ-11141)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1863500 13f79535-47bb-0310-9956-ffa450edef68

  1. … 78 more files in changeset.
Improved: Add ‘ComponentConfig#components’ static method (OFBIZ-11101)

This factorizes the construction of a stream for the collection of

components.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862226 13f79535-47bb-0310-9956-ffa450edef68

Improved: Add ‘ComponentConfig#matchingComponentName’ static method (OFBIZ-11101)

This factorizes the construction of a predicate filtering components by

their names.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862225 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getAllEntityResourceInfos’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862224 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getKeystoreInfo’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862223 13f79535-47bb-0310-9956-ffa450edef68

Improved: Inline ‘ComponentConfig#isFileResourceLoader’ (OFBIZ-11101)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862222 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getAllWebappResourceInfos’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862220 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getAllTestSuiteInfos’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862219 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getAllServiceResourceInfos’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862218 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getAllKeystoreInfos’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862217 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getAllConfigurations’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862216 13f79535-47bb-0310-9956-ffa450edef68

Improved: Rewrite ‘ComponentConfig#getAllClasspathInfos’ (OFBIZ-11101)

It now has a stream based implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862215 13f79535-47bb-0310-9956-ffa450edef68