diff options
author | Eitan Isaacson <eitan@monotonous.org> | 2011-06-02 09:53:27 -0700 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2011-06-02 09:53:27 -0700 |
commit | 8bd157c10cb64f3cdc9ac225998e3d3eee5b1ee2 (patch) | |
tree | e6a939b465b9a12f70212cbc396d33dc289e0eb6 /libcaribou/row-model.vala | |
parent | f9b5337ba45f7c2a0ffe6c302d8a7f3a7f4fa635 (diff) | |
download | caribou-8bd157c10cb64f3cdc9ac225998e3d3eee5b1ee2.tar.gz |
Remove redundant get_keys() from subclasses.
Diffstat (limited to 'libcaribou/row-model.vala')
-rw-r--r-- | libcaribou/row-model.vala | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libcaribou/row-model.vala b/libcaribou/row-model.vala index c7f0e8f..7aac08e 100644 --- a/libcaribou/row-model.vala +++ b/libcaribou/row-model.vala @@ -27,17 +27,6 @@ namespace Caribou { column.add_key (key); } - public KeyModel[] get_keys () { - Gee.ArrayList<KeyModel> keys = new Gee.ArrayList<KeyModel> (); - foreach (ColumnModel column in columns) { - KeyModel[] col_keys = column.get_keys(); - foreach (KeyModel key in col_keys) { - keys.add(key); - } - } - return (KeyModel[]) keys.to_array (); - } - public ColumnModel[] get_columns () { return (ColumnModel[]) columns.to_array (); } |