From: Didier Ptitjes Date: Mon, 26 Oct 2009 00:04:23 +0000 (+0100) Subject: Fix trailling whitespaces X-Git-Tag: 0.37.1~3^2~519 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1015d0d9e60da00de756db77d4d4706646af702;p=thirdparty%2Fvala.git Fix trailling whitespaces --- diff --git a/src/doclets/valadoc.org/doclet.vala b/src/doclets/valadoc.org/doclet.vala index 1edb2be39..9e4959eac 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 b76a303fe..dfacf98a4 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 10071abb7..2934362b8 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 b3c9b48ef..882715a64 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 items { get { return _items; } } - + private Gee.List _items; internal List () { diff --git a/src/libvaladoc/documentation/wikiscanner.vala b/src/libvaladoc/documentation/wikiscanner.vala index d42e2e7fc..3f0c8dfc2 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 1cc0d1b41..d6917dff6 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;