-
Notifications
You must be signed in to change notification settings - Fork 41
test #1842
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
base: master
Are you sure you want to change the base?
test #1842
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -39,6 +39,7 @@ | |||
| private static final int NUMBER_OF_DAYS_OF_EVENTS = 1; | ||||
| private static final Logger LOGGER = LoggerFactory.getLogger(DataTerminationService.class); | ||||
| private static final SafeExecutor SAFE_EXECUTOR = new SafeExecutor(DataTerminationService::log); | ||||
| private final String TEST = "test"; | ||||
|
Check warning on line 42 in multiapps-controller-core/src/main/java/org/cloudfoundry/multiapps/controller/core/security/data/termination/DataTerminationService.java
|
||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Severity: CRITICAL · Confidence: 98 Accidental debug/test field committed to production code. This Evidence: Fix:
Suggested change
(Remove this line entirely before merging.) |
||||
| // Required by CF API: | ||||
| // https://v3-apidocs.cloudfoundry.org/version/3.128.0/index.html#timestamps | ||||
| private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'"); | ||||
|
|
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Severity: IMPORTANT · Confidence: 85
The log message change drops the word "orphaned" from the descriptor count message, making it less specific. The constant name
DELETED_ORPHANED_MTA_DESCRIPTORS_COUNTstill references "orphaned" but the message text no longer does, creating a misleading mismatch. Operators correlating log output with code will find the constant name and message inconsistent.Evidence:
public static final String DELETED_ORPHANED_MTA_DESCRIPTORS_COUNT = "Deleted descriptors count: {0}";Fix: