[
https://issues.apache.org/jira/browse/STANBOL-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rupert Westenthaler resolved STANBOL-1314.
------------------------------------------
Resolution: Fixed
fixed with http://svn.apache.org/r1587575 in 0.12 and
http://svn.apache.org/r1587576 in 1.0
> 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)