Mapping Summary for ('long', 'java.time.Duration')

Match Replace Instances isVeryGood isGood isChange Relevant Instances Commits Project Link
TimeUnit.MILLISECONDS.toNanos(:[TCIVar]) :[TCIVar].toNanos() 1 False False True 1 ['d075b940a829a20dd0275698dab6088c2425f5c9'] ['ehcache3'] Link
:[v1].describedAs(STR0,:[v0].getMethodName(),:[TCIVar],unit).isFalse() :[v1].describedAs(STR1,:[v0].getMethodName(),:[TCIVar]).isFalse() 1 False False True 1 ['d075b940a829a20dd0275698dab6088c2425f5c9'] ['ehcache3'] Link
this.autoIncrementStepNanos=timeUnit.toNanos(:[TCIVar]) this.autoIncrementStep=:[TCIVar] 1 False False True 1 ['076ece499d4fb2521cc251c77ca064422835da0f'] ['bazel'] Link
String.format(STR0,:[v1],:[TCIVar]) String.format(STR1,:[v1],:[TCIVar].toMillis()) 1 False False True 1 ['265140fdc84e765ecf48e9c34c47cda9fd143552'] ['flink'] Link
:[v0].withTimeServiceIncrement(TimeUnit.MILLISECONDS.toNanos(:[TCIVar])).build().run() :[v0].withTimeServiceIncrement(:[TCIVar]).build().run() 1 False False True 1 ['4bb88764527445da8dd9b6a04af86aa0a7b7041c'] ['cucumber-jvm'] Link
:[TCIVar] :[TCIVar].toNanos() 1 False False True 1 ['4bb88764527445da8dd9b6a04af86aa0a7b7041c'] ['cucumber-jvm'] Link
:[v0] Duration.ofMillis(:[v0]) 3 True True True 3 ['2e70167016c6ddd79ca6e8d58d9f33534082da66', 'deab0cf4184ed32d8f76efc3c33aefae8b54603d', 'eb1bdda9710b1da7cfd02819c81525dc199cd166'] ['platform_frameworks_base', 'bazel', 'neo4j'] Link
:[v1] + :[TCIVar] :[v1] + :[TCIVar].toMillis() 1 False False True 1 ['78623e65fe57f9bbef44eed10bd920d1c24c81d8'] ['neo4j'] Link
TimeUnit.MILLISECONDS.toNanos(:[TCIVar]) :[TCIVar] 1 False False True 1 ['4bb88764527445da8dd9b6a04af86aa0a7b7041c'] ['cucumber-jvm'] Link
TimeUnit.MINUTES.toNanos(:[TCIVar]) :[TCIVar].toNanos() 1 False False True 1 ['ae670f76df34ef0e1d78ff06a51bf747deeac627'] ['cas'] Link
System.currentTimeMillis() stopwatch.elapsed() 2 False False True 2 ['a3c29c44d3ef6f4b1dd33240b9972cda4eca1a4f'] ['bazel'] Link
:[v0].enableCheckpointing(:[TCIVar]) :[v0].enableCheckpointing(:[TCIVar].toMillis()) 1 False False True 1 ['2f13c9e6aa93947916714d6600a26015aae05908'] ['beam'] Link
new FloggerElapsedTimeReceiver(:[v1],:[v2],:[TCIVar],TimeUnit.MILLISECONDS) new FloggerElapsedTimeReceiver(:[v1],:[v2],:[TCIVar]) 1 False False True 1 ['b182a3fc53cccd9f7a8da956f84f24e6657910fb'] ['bazel'] Link
:[v0].describedAs(STR0,:[v2],:[TCIVar],unit) :[v0].describedAs(STR1,:[v2],:[TCIVar]) 1 False False True 1 ['d075b940a829a20dd0275698dab6088c2425f5c9'] ['ehcache3'] Link
:[v0].withTimeServiceIncrement(TimeUnit.MILLISECONDS.toNanos(:[TCIVar])) :[v0].withTimeServiceIncrement(:[TCIVar]) 1 False False True 1 ['4bb88764527445da8dd9b6a04af86aa0a7b7041c'] ['cucumber-jvm'] Link
:[v2].withStepsToLocation(:[v1]).withTimeServiceIncrement(TimeUnit.MILLISECONDS.toNanos(:[TCIVar])).build() :[v2].withStepsToLocation(:[v1]).withTimeServiceIncrement(:[TCIVar]).build() 1 False False True 1 ['4bb88764527445da8dd9b6a04af86aa0a7b7041c'] ['cucumber-jvm'] Link
timeUnit.toNanos(:[TCIVar]) :[TCIVar] 1 False False True 1 ['076ece499d4fb2521cc251c77ca064422835da0f'] ['bazel'] Link
:[TCIVar] :[TCIVar].toMillis() 7 True True True 7 ['78623e65fe57f9bbef44eed10bd920d1c24c81d8', '2f13c9e6aa93947916714d6600a26015aae05908', '2e70167016c6ddd79ca6e8d58d9f33534082da66', 'f2d459502f5fb422d6000db782795cffc6efa3e4', '265140fdc84e765ecf48e9c34c47cda9fd143552', 'e45975a5b0bedc0e8b410b231a687c069a06956c'] ['bazel', 'neo4j', 'beam', 'alluxio', 'flink'] Link
TimeUnit.NANOSECONDS.toMillis(:[v0]) Duration.ofNanos(:[v0]) 2 False False True 2 ['af79eb49df9fb9a4b5a00194e5068a6cfedf12ae'] ['bazel'] Link
:[TCIVar] :[TCIVar].getSeconds() 2 False False True 2 ['deab0cf4184ed32d8f76efc3c33aefae8b54603d'] ['bazel'] Link
:[v2].setExitCode(:[v0]).setWallTimeMillis(:[TCIVar]).build() :[v2].setExitCode(:[v0]).setWallTime(:[TCIVar]).build() 1 False False True 1 ['02fb4bb419c7ad43b17d0cffae7787bf1fa0c676'] ['bazel'] Link
Duration.ofMillis(-:[TCIVar]) :[[TCIVar]] 1 False False True 1 ['2e09d9479beb9b38e1de1f0662000e8c01336480'] ['flink'] Link
:[v0].toMillis() :[v0] 3 False False True 3 ['e4ad5aa7e01428d007dd193ae17acd9fd0040de6'] ['cas'] Link
FutureUtils.orTimeout(:[v3],:[TCIVar],:[v4],String.format(STR0,:[v1],:[TCIVar])) FutureUtils.orTimeout(:[v3],:[TCIVar].toMillis(),:[v4],String.format(STR1,:[v1],:[TCIVar].toMillis())) 1 False False True 1 ['265140fdc84e765ecf48e9c34c47cda9fd143552'] ['flink'] Link
TumblingWindowAssigner.of(:[v1]).withOffset(Duration.ofMillis(-:[TCIVar])) SlidingWindowAssigner.of(:[v1],:[TCIVar]) 1 False False True 1 ['2e09d9479beb9b38e1de1f0662000e8c01336480'] ['flink'] Link
:[v0].setWallTimeMillis(:[TCIVar]) :[v0].setWallTime(:[TCIVar]) 1 False False True 1 ['02fb4bb419c7ad43b17d0cffae7787bf1fa0c676'] ['bazel'] Link
Math.abs(snapshot.getCreatedAt() - :[v0]) Duration.between(:[v0],createdAt).abs() 1 False False True 1 ['862136c48612703748db03dd7d52df515a86d7e6'] ['sonarqube'] Link
Duration.newBuilder().setSeconds(:[TCIVar]) com.google.protobuf.Duration.newBuilder().setSeconds(:[TCIVar].getSeconds()) 2 False False True 2 ['deab0cf4184ed32d8f76efc3c33aefae8b54603d'] ['bazel'] Link