[gitg] Remove to_string debug methods
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Remove to_string debug methods
- Date: Thu, 2 Jan 2014 12:41:33 +0000 (UTC)
commit 94ff779311dc4c2478a98c4d45157874339396cc
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Wed Jan 1 14:23:41 2014 +0100
Remove to_string debug methods
libgitg/gitg-stage.vala | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/libgitg/gitg-stage.vala b/libgitg/gitg-stage.vala
index e41b2c1..91377d4 100644
--- a/libgitg/gitg-stage.vala
+++ b/libgitg/gitg-stage.vala
@@ -50,29 +50,10 @@ public class PatchSet
size_t old_offset;
size_t new_offset;
size_t length;
-
- public string to_string()
- {
- var tp = type == Type.ADD ? "add" : "remove";
- return @"$tp[old_offset: $old_offset, new_offset: $new_offset, length: $length]";
- }
}
public string filename;
public Patch[] patches;
-
- public string to_string()
- {
- var ps = new string[patches.length];
-
- for (var i = 0; i < patches.length; i++)
- {
- ps[i] = patches[i].to_string();
- }
-
- var p = string.joinv(", ", ps);
- return @"$filename: $p";
- }
}
public class Stage : Object
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]