db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-4876) Deprecation warnings in VTITemplate
Date Sun, 31 Oct 2010 18:48:28 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen closed DERBY-4876.
-------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.7.1.0
    Issue & fix info:   (was: [Patch Available])

Committed revision 1029452.

> Deprecation warnings in VTITemplate
> -----------------------------------
>
>                 Key: DERBY-4876
>                 URL: https://issues.apache.org/jira/browse/DERBY-4876
>             Project: Derby
>          Issue Type: Improvement
>          Components: Demos/Scripts
>    Affects Versions: 10.7.1.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.7.1.0
>
>         Attachments: deprecated.diff
>
>
> I see four deprecation warnings in java/demo/vtis/..../VTITemplate.java when I run "ant
-q all".
>     [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:354:
warning: [deprecation] getUnicodeStream(java.lang.String) in java.sql.ResultSet has been deprecated
>     [javac]     public java.io.InputStream getUnicodeStream(String columnName) throws
SQLException {
>     [javac]                                ^
>     [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:300:
warning: [deprecation] getBigDecimal(java.lang.String,int) in java.sql.ResultSet has been
deprecated
>     [javac]     public BigDecimal getBigDecimal(String columnName, int scale) throws
SQLException {
>     [javac]                       ^
>     [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:209:
warning: [deprecation] getUnicodeStream(int) in java.sql.ResultSet has been deprecated
>     [javac]     public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException
{
>     [javac]                                ^
>     [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:155:
warning: [deprecation] getBigDecimal(int,int) in java.sql.ResultSet has been deprecated
>     [javac]     public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
{
>     [javac]                       ^
>     [javac] 4 warnings

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message