Skip to content

Commit 83ba459

Browse files
author
Vihas Splunk
committed
fix: sonar
1 parent 7a1b700 commit 83ba459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/splunk/kafka/connect/SplunkSinkTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ private void timestampExtraction(Event event) {
569569

570570
if (connectorConfig.timestampFormat.equalsIgnoreCase("epoch")) {
571571
try {
572-
double epoch = (Double.parseDouble(timestamp));
572+
double epoch = Double.parseDouble(timestamp);
573573
long long_epoch = Double.valueOf(epoch).longValue();
574574
event.setTime(epoch / (Math.pow(10, Long.toString(long_epoch).length()-10.00)));
575575

0 commit comments

Comments
 (0)