banshee r3000 - in trunk/banshee: . src/Core/Hyena/Hyena.Data.Sqlite
- From: scottp svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3000 - in trunk/banshee: . src/Core/Hyena/Hyena.Data.Sqlite
- Date: Sun, 20 Jan 2008 06:24:47 +0000 (GMT)
Author: scottp
Date: Sun Jan 20 06:24:47 2008
New Revision: 3000
URL: http://svn.gnome.org/viewvc/banshee?rev=3000&view=rev
Log:
* src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs:
* src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumnAttribute.cs: Got
rid of unnecessary private variables.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs
trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumnAttribute.cs
Modified: trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs (original)
+++ trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs Sun Jan 20 06:24:47 2008
@@ -35,7 +35,6 @@
{
internal abstract class AbstractDatabaseColumn
{
- private readonly AbstractDatabaseColumnAttribute attribute;
private readonly FieldInfo field_info;
private readonly PropertyInfo property_info;
private readonly Type type;
@@ -76,7 +75,6 @@
type.Name)
);
}
- this.attribute = attribute;
this.name = attribute.ColumnName ?? member_info.Name;
this.type = type;
}
Modified: trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumnAttribute.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumnAttribute.cs (original)
+++ trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumnAttribute.cs Sun Jan 20 06:24:47 2008
@@ -95,7 +95,6 @@
public sealed class VirtualDatabaseColumnAttribute : AbstractDatabaseColumnAttribute
{
private string target_table;
- private string target_column;
private string local_key;
private string foreign_key;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]