Skip to content

Commit

Permalink
Rename method paremeter to express its meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
kokosing authored and losipiuk committed Sep 10, 2020
1 parent ee7d359 commit 7a17dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions presto-main/src/main/java/io/prestosql/type/DateTimes.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ public static int getMicrosOfMilli(long epochMicros)
return floorMod(epochMicros, MICROSECONDS_PER_MILLISECOND);
}

public static long toEpochMicros(long epochMillis, int fraction)
public static long toEpochMicros(long epochMillis, int picosOfMilli)
{
return scaleEpochMillisToMicros(epochMillis) + fraction / 1_000_000;
return scaleEpochMillisToMicros(epochMillis) + picosOfMilli / 1_000_000;
}

public static long round(long value, int magnitude)
Expand Down

0 comments on commit 7a17dce

Please sign in to comment.