diff options
author | michelou <michelou@epfl.ch> | 2005-11-16 09:38:14 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-11-16 09:38:14 +0000 |
commit | 7d38b7501cb0287b9b0911863edaf3d2e9757011 (patch) | |
tree | c63249b969d640c55e9f35d43fe7e527055f970e | |
parent | a1a44d9fc9b40cdf7078da11f26cda5d1f92c4e1 (diff) | |
download | scala-7d38b7501cb0287b9b0911863edaf3d2e9757011.tar.gz scala-7d38b7501cb0287b9b0911863edaf3d2e9757011.tar.bz2 scala-7d38b7501cb0287b9b0911863edaf3d2e9757011.zip |
- removed leading tabs.
-rw-r--r-- | sources/scala/dbc/datatype/Unknown.scala | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sources/scala/dbc/datatype/Unknown.scala b/sources/scala/dbc/datatype/Unknown.scala index b081881cad..1e7895eb46 100644 --- a/sources/scala/dbc/datatype/Unknown.scala +++ b/sources/scala/dbc/datatype/Unknown.scala @@ -11,19 +11,20 @@ package scala.dbc.datatype; /** The SQL type for a truth value. */ class Unknown extends DataType { - def isEquivalent (datatype:DataType) = datatype match { - case dt:Unknown => { - nativeTypeId == dt.nativeTypeId - } - case _ => false - } + def isEquivalent(datatype: DataType) = datatype match { + case dt: Unknown => + nativeTypeId == dt.nativeTypeId + case _ => + false + } - def isSubtypeOf (datatype:DataType) = true; + def isSubtypeOf(datatype: DataType) = true; - type NativeType = Object; - val nativeTypeId = DataType.OBJECT; + type NativeType = Object; + val nativeTypeId = DataType.OBJECT; - /** A SQL-99 compliant string representation of the type. */ - override def sqlString: java.lang.String = error("The 'UNKNOWN' data type cannot be represented."); + /** A SQL-99 compliant string representation of the type. */ + override def sqlString: java.lang.String = + error("The 'UNKNOWN' data type cannot be represented."); -}
\ No newline at end of file +} |