Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

decompose conditional refactoring#169

Open
Vivek504 wants to merge 1 commit intoapache:trunk from
Vivek504:decompose-conditional-refactoring
Open

decompose conditional refactoring #169
Vivek504 wants to merge 1 commit intoapache:trunk from
Vivek504:decompose-conditional-refactoring

Conversation

@Vivek504
Copy link

@Vivek504 Vivek504 commented Nov 18, 2023

Decompose Conditional Refactoring

Location of the class: org.apache.pdfbox.io.MemoryUsageSetting

Reason: Complex Conditional - The conditional expression locUseMainMemory && (locMaxStorageBytes > -1) && ((locMaxMainMemoryBytes == -1) || (locMaxMainMemoryBytes > locMaxStorageBytes)) is complex.

Logic of the refactoring: Replaced the conditional logic with newly created methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /