You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/04/15 15:26:15 UTC
[jira] [Assigned] (STANBOL-1314) Math.random() Cast to 'int' is
Always Rounded Down to 0
[ https://issues.apache.org/jira/browse/STANBOL-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler reassigned STANBOL-1314:
--------------------------------------------
Assignee: Rupert Westenthaler
> 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
> Assignee: Rupert Westenthaler
> Priority: Minor
> Fix For: 1.0.0, 0.12.1
>
> 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)