[valadoc] Fix trailling whitespaces
- From: Florian Brosch <flobrosch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [valadoc] Fix trailling whitespaces
- Date: Wed, 28 Oct 2009 13:05:54 +0000 (UTC)
commit d1015d0d9e60da00de756db77d4d4706646af702
Author: Didier Ptitjes <ptitjes free fr>
Date: Mon Oct 26 01:04:23 2009 +0100
Fix trailling whitespaces
src/doclets/valadoc.org/doclet.vala | 2 +-
src/libvaladoc/api/tree.vala | 10 +++++-----
src/libvaladoc/api/typereference.vala | 2 +-
src/libvaladoc/content/list.vala | 2 +-
src/libvaladoc/documentation/wikiscanner.vala | 2 +-
src/libvaladoc/parser/token.vala | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/doclets/valadoc.org/doclet.vala b/src/doclets/valadoc.org/doclet.vala
index 1edb2be..9e4959e 100755
--- a/src/doclets/valadoc.org/doclet.vala
+++ b/src/doclets/valadoc.org/doclet.vala
@@ -232,7 +232,7 @@ public class Valadoc.ValadocOrg.Doclet : BasicDoclet {
else {
modifier = "NORMAL";
}
-
+
this.file.printf ("INSERT INTO `ValadocClasses` (`id`, `modifier`) VALUES ((SELECT `id` FROM `ValadocApiElement` WHERE BINARY `fullname`='%s' LIMIT 1),'%s');\n", this.get_type_path(cl), modifier);
this.write_documentation (cl);
}
diff --git a/src/libvaladoc/api/tree.vala b/src/libvaladoc/api/tree.vala
index b76a303..dfacf98 100644
--- a/src/libvaladoc/api/tree.vala
+++ b/src/libvaladoc/api/tree.vala
@@ -177,9 +177,9 @@ public class Valadoc.Api.Tree {
// ignore multiple occurences of the same package
return true;
}
-
+
var package_path = context.get_package_path (pkg, settings.vapi_directories);
-
+
if (package_path == null) {
return false;
}
@@ -211,7 +211,7 @@ public class Valadoc.Api.Tree {
Vala.Report.error (null, "Unable to read dependency file: %s".printf (e.message));
}
}
-
+
return true;
}
@@ -259,9 +259,9 @@ public class Valadoc.Api.Tree {
} else if (source.has_suffix (".vapi")) {
string file_name = Path.get_basename (source);
file_name = file_name.ndup ( file_name.size() - ".vapi".size() );
-
+
var vfile = new Vala.SourceFile (context, rpath, true);
- Package vdpkg = new Package (vfile, file_name);
+ Package vdpkg = new Package (vfile, file_name);
context.add_source_file (vfile);
this.packages.add (vdpkg);
} else if (source.has_suffix (".c")) {
diff --git a/src/libvaladoc/api/typereference.vala b/src/libvaladoc/api/typereference.vala
index 10071ab..2934362 100644
--- a/src/libvaladoc/api/typereference.vala
+++ b/src/libvaladoc/api/typereference.vala
@@ -116,7 +116,7 @@ public class Valadoc.Api.TypeReference : Item {
return true;
}
-
+
public bool is_dynamic {
get {
return this.vtyperef.is_dynamic;
diff --git a/src/libvaladoc/content/list.vala b/src/libvaladoc/content/list.vala
index b3c9b48..882715a 100755
--- a/src/libvaladoc/content/list.vala
+++ b/src/libvaladoc/content/list.vala
@@ -25,7 +25,7 @@ using Gee;
public class Valadoc.Content.List : ContentElement, Block {
public Gee.List<ListItem> items { get { return _items; } }
-
+
private Gee.List<ListItem> _items;
internal List () {
diff --git a/src/libvaladoc/documentation/wikiscanner.vala b/src/libvaladoc/documentation/wikiscanner.vala
index d42e2e7..3f0c8df 100644
--- a/src/libvaladoc/documentation/wikiscanner.vala
+++ b/src/libvaladoc/documentation/wikiscanner.vala
@@ -215,7 +215,7 @@ public class Valadoc.WikiScanner : Object, Scanner {
case '#':
emit_token (TokenType.SHARP);
break;
-
+
case '-':
if (_last_char.isalnum () || get_next_char ().isalnum ()) {
append_char (c);
diff --git a/src/libvaladoc/parser/token.vala b/src/libvaladoc/parser/token.vala
index 1cc0d1b..d6917df 100644
--- a/src/libvaladoc/parser/token.vala
+++ b/src/libvaladoc/parser/token.vala
@@ -53,7 +53,7 @@ public class Valadoc.Token : Object {
return false;
} else if (_word[0] == '0' && _word.length > 1) {
return false;
- }
+ }
for (int i = 0; i < _word.length; i++) {
if (_word[i] < '0' || _word[i] > '9') {
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]