You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2019/02/01 17:12:16 UTC

[incubator-iotdb] branch fix_sonar_jt updated: change a parameter name to make it more understandable.

This is an automated email from the ASF dual-hosted git repository.

jiangtian pushed a commit to branch fix_sonar_jt
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/fix_sonar_jt by this push:
     new 8304f96  change a parameter name to make it more understandable.
8304f96 is described below

commit 8304f96b184d5d78c5d2c248892c9f967dd881cc
Author: jt <jt...@163.com>
AuthorDate: Sat Feb 2 01:12:05 2019 +0800

    change a parameter name to make it more understandable.
---
 .../java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java b/iotdb/src/main/java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java
index 99134c5..c425d54 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java
@@ -1516,10 +1516,10 @@ public class FileNodeProcessor extends Processor implements IStatistic {
                               TSDataType dataType, IReader seriesReader,
                               Map<String, Long> startTimeMap,
                               Map<String, Long> endTimeMap,
-                              TimeValuePair timeValuePair) throws IOException {
+                              TimeValuePair firstTVPair) throws IOException {
     long startTime;
     long endTime;
-    TimeValuePair localTV = timeValuePair;
+    TimeValuePair localTV = firstTVPair;
     writeTVPair(seriesWriterImpl, dataType, localTV);
     startTime = endTime = localTV.getTimestamp();
     if (!startTimeMap.containsKey(deviceId) || startTimeMap.get(deviceId) > startTime) {