You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Furkan KAMACI (JIRA)" <ji...@apache.org> on 2014/04/06 16:43:14 UTC
[jira] [Created] (STANBOL-1314) Math.random() Cast to 'int' is
Always Rounded Down to 0
Furkan KAMACI created STANBOL-1314:
--------------------------------------
Summary: Math.random() Cast to 'int' is Always Rounded Down to 0
Key: STANBOL-1314
URL: https://issues.apache.org/jira/browse/STANBOL-1314
Project: Stanbol
Issue Type: Bug
Reporter: Furkan KAMACI
Priority: Minor
Fix For: 1.0.0
Attachments: STANBOL-1314.patch
TestLocationEnhancementEngine.java and TestEntityLinkingEnhancementEngine.java tries to set some random numbers for start/end if not found in the content but code existing code lines has a bug and random number is always rounded down to 0.
--
This message was sent by Atlassian JIRA
(v6.2#6252)