db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: A question about types
Date Wed, 08 Mar 2006 04:58:32 GMT
Dyre.Tjeldvoll@Sun.COM wrote:

> But this fails to compile because DataTypeDescriptor.isCharacterType
> and DataTypeDescriptor.isBinaryType are private.
> 
>     [javac] /private/tmp/DERBY/derby-969/java/engine/org/apache/derby/catalog/GetProcedureColumns.java:289:
isCharacterType(int) has private access in org.apache.derby.iapi.types.DataTypeDescriptor
>     [javac]                             if (DataTypeDescriptor.isCharacterType(type)
||
>     [javac]                                                       ^
>     [javac] /private/tmp/DERBY/derby-969/java/engine/org/apache/derby/catalog/GetProcedureColumns.java:290:
isBinaryType(int) has private access in org.apache.derby.iapi.types.DataTypeDescriptor
>     [javac]                                     DataTypeDescriptor.isBinaryType(type))
{
> 
> 
> Is that intentional? Would it be ok to make them more accessible?

probably, though logically these methods belong on TypeId, to match the
other similar methods.

Dan.



Mime
View raw message