[ https://issues.apache.org/jira/browse/FLINK-8708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen resolved FLINK-8708. --------------------------------- Resolution: Fixed Fix Version/s: 1.5.0 Fixed in - 1.5.0 via 063895c24cb37cabb71a22bbe3eb09bbd22b09a4 - 1.6.0 via 98924f0ab5eac1fea361277715560bb7d519a369 > Unintended integer division in StandaloneThreadedGenerator > ---------------------------------------------------------- > > Key: FLINK-8708 > URL: https://issues.apache.org/jira/browse/FLINK-8708 > Project: Flink > Issue Type: Bug > Reporter: Ted Yu > Assignee: vinoyang > Priority: Minor > Fix For: 1.5.0 > > > In > flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/statemachine/generator/StandaloneThreadedGenerator.java > : > {code} > double factor = (ts - lastTimeStamp) / 1000; > {code} > Proper casting should be done before the integer division -- This message was sent by Atlassian JIRA (v7.6.3#76005)