Skip to content

Conversation

@nielserik
Copy link
Collaborator

MODINVUP-128, write source files to file queue asynchronously

-- also in FileQueue: tweak method names, method visibility
-- other minor code clean up

  -- also in FileQueue: tweak method names, method visibility
  -- other minor code clean up
Comment on lines 113 to +115
+ filesProcessed + " file(s) with " + recordsProcessed.get()
+ " records processed in " + processingTimeAsString(processingTime) + " ("
+ (recordsProcessed.get() * 1000000000L / processingTime) + " recs/s.)")
+ " records processed in " + processingTimeAsString(processingTimeNanos) + " ("
+ (recordsProcessed.get() * NANOS_PER_SECOND / processingTimeNanos) + " recs/s.)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The statistics string in line 113-115 can be put into a variable and re-used in line 121 to avoid code duplication.

…very/fileimport/reporting/Reporting.java

Co-authored-by: julianladisch <533612+julianladisch@users.noreply.github.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 8, 2026

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

Successfully merging this pull request may close these issues.

3 participants