You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2010/06/09 22:07:13 UTC
[jira] Created: (CONNECTORS-42) Impossible cast in
org.apache.lcf.core.database.Database
Impossible cast in org.apache.lcf.core.database.Database
--------------------------------------------------------
Key: CONNECTORS-42
URL: https://issues.apache.org/jira/browse/CONNECTORS-42
Project: Lucene Connector Framework
Issue Type: Bug
Reporter: Mark Miller
Priority: Minor
{code}
if (x instanceof TimeMarker)
{
ps.setTimestamp(i+1,new java.sql.Timestamp(((Long)x).longValue()));
}
{code}
should likely be:
{code}
if (x instanceof TimeMarker)
{
ps.setTimestamp(i+1,new java.sql.Timestamp(((TimeMarker)x).longValue()));
}
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CONNECTORS-42) Impossible cast in
org.apache.lcf.core.database.Database
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright reassigned CONNECTORS-42:
-------------------------------------
Assignee: Karl Wright
> Impossible cast in org.apache.lcf.core.database.Database
> --------------------------------------------------------
>
> Key: CONNECTORS-42
> URL: https://issues.apache.org/jira/browse/CONNECTORS-42
> Project: Lucene Connector Framework
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Karl Wright
> Priority: Minor
>
> {code}
> if (x instanceof TimeMarker)
> {
> ps.setTimestamp(i+1,new java.sql.Timestamp(((Long)x).longValue()));
> }
> {code}
> should likely be:
> {code}
> if (x instanceof TimeMarker)
> {
> ps.setTimestamp(i+1,new java.sql.Timestamp(((TimeMarker)x).longValue()));
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CONNECTORS-42) Impossible cast in
org.apache.lcf.core.database.Database
Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright resolved CONNECTORS-42.
-----------------------------------
Resolution: Fixed
Stupid typo, luckily code unused at this point.
> Impossible cast in org.apache.lcf.core.database.Database
> --------------------------------------------------------
>
> Key: CONNECTORS-42
> URL: https://issues.apache.org/jira/browse/CONNECTORS-42
> Project: Lucene Connector Framework
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Karl Wright
> Priority: Minor
>
> {code}
> if (x instanceof TimeMarker)
> {
> ps.setTimestamp(i+1,new java.sql.Timestamp(((Long)x).longValue()));
> }
> {code}
> should likely be:
> {code}
> if (x instanceof TimeMarker)
> {
> ps.setTimestamp(i+1,new java.sql.Timestamp(((TimeMarker)x).longValue()));
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.