Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2021-06-11 19:322021-06-14 07:19
ReportershuehnerView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionfixedFixed in VersionPR21Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0047093: Remove use of guava library in java code of backoffice

DescriptionDone to prepare eventually removing guava library entirely

List of files referencing it
Steps To Reproducegrep -Ir 'com\.google\.common'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks design defect 0047092 closedmeriem_azaf Remove guava library as it is no longer needed as a dependency of weld 

-  Notes
hgbot (developer)
2021-06-11 19:38

Merge Request created: [^]
hgbot (developer)
2021-06-14 07:19

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 70f08e94b3f8fa81238d857aca4d242c2dcd0190
Author: Stefan Huehner <>
Date: 2021-06-14T07:17:11+02:00
URL: [^]

fixes ISSUE-47093: Remove guava usage from java code

- InitialSetupUtility
  - Stop using Charsets.UTF_8 constants from guava library. Instead use
standard java StandardCharsets class
  - Simplify reading file by using Files.ReadString(Path,Charset)
    directly avoid the intermediate byte[]
- CrossOrganizationReference
  - Use standard Collections.reverse method instead of guava
    Note that JDK function modify the argument in place instead of
returning a 'reversed' view. However with that usage here (cleanup after
unit-tests & .clear()-ing the list just afterwards no need to clone the
- AllowedOrganizationTest
  - Change away from guava ImmutableMap.builder() replace it by standard
    - Map.Of(Key,Value,Key,Value, ...) for the simple case
    - Map.ofEntries for the slightly more complex case.

M src-test/src/org/openbravo/test/security/
M src-test/src/org/openbravo/test/security/
M src/org/openbravo/erpCommon/businessUtility/
hgbot (developer)
2021-06-14 07:19

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2021-06-11 19:32 shuehner New Issue
2021-06-11 19:32 shuehner Assigned To => platform
2021-06-11 19:32 shuehner Modules => Core
2021-06-11 19:32 shuehner Triggers an Emergency Pack => No
2021-06-11 19:38 hgbot Note Added: 0129419
2021-06-11 19:39 shuehner Relationship added blocks 0047092
2021-06-14 07:19 hgbot Resolution open => fixed
2021-06-14 07:19 hgbot Status new => closed
2021-06-14 07:19 hgbot Fixed in Version => PR21Q3
2021-06-14 07:19 hgbot Note Added: 0129436
2021-06-14 07:19 hgbot Note Added: 0129437

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker