Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing internal mutable objects in multiple places. #1387

Open
BearSolitary opened this issue Aug 16, 2023 · 0 comments
Open

Exposing internal mutable objects in multiple places. #1387

BearSolitary opened this issue Aug 16, 2023 · 0 comments

Comments

@BearSolitary
Copy link

BearSolitary commented Aug 16, 2023

Multiple locations in the project expose internal representation by incorporating references to mutable objects.

Location 1: ImageLoader.java class method getInstance() exposes internal representation.

Location 2: FuzzyKeyMemoryCache.java class, constructor FuzzyKeyMemoryCache(...) exposes internal representation.

Location 3: LimitedAgeMemoryCache.java class, constructor LimitedAgeMemoryCache(...) exposes internal representation.

Location 4: ImageLoaderConfiguration.java class, method memoryCache (...) exposes internal representation.

Location 5: ImageLoaderConfiguration.java class, method diskCache (...) exposes internal representation.

Location 6: FailReason.java class, constructor Failreason(...) exposes internal representation.

Location 7: FailReason.java class, method getCause(...) exposes internal representation.

Location 8: PauseOnScrollListener.java class, constructor PauseOnScrollListener(...) exposes internal representation.

@BearSolitary BearSolitary changed the title Inconsistent Public Array in "Constants.java" class. Exposing internal mutable objects in multiple places. Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant