Skip to content

Commit

Permalink
initialize dur as null for TimerBucketMaxConfiguration and TimerBucke…
Browse files Browse the repository at this point in the history
…tMinConfiguration
  • Loading branch information
Channyboy committed Sep 19, 2023
1 parent a6140ff commit 0c3e73c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static Collection<TimerBucketMaxConfiguration> parse(String input) {
String metricName = keyValueSplit[0];

TimerBucketMaxConfiguration sloMinConfiguration = null;
Duration dur;
Duration dur = null;
// metricGroup=<blank> == invalid
if (keyValueSplit.length == 2) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static Collection<TimerBucketMinConfiguration> parse(String input) {
String metricName = keyValueSplit[0];

TimerBucketMinConfiguration sloMinConfiguration = null;
Duration dur;
Duration dur = null;
// metricGroup=<blank> == invalid
if (keyValueSplit.length == 2) {

Expand Down

0 comments on commit 0c3e73c

Please sign in to comment.