[gxml] gxml/*.vala: remove unnecessary periods
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] gxml/*.vala: remove unnecessary periods
- Date: Mon, 14 Oct 2013 08:38:08 +0000 (UTC)
commit 27d6c057a21df226c06f6eebdf5ea6081dfab204
Author: Richard Schwarting <aquarichy gmail com>
Date: Mon Oct 14 03:14:01 2013 -0400
gxml/*.vala: remove unnecessary periods
gxml/Implementation.vala | 14 +++++++-------
gxml/Node.vala | 4 ++--
gxml/NodeList.vala | 10 +++++-----
gxml/Serializable.vala | 12 ++++++------
4 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/gxml/Implementation.vala b/gxml/Implementation.vala
index 4c60df5..7f22dc6 100644
--- a/gxml/Implementation.vala
+++ b/gxml/Implementation.vala
@@ -81,11 +81,11 @@ namespace GXml {
* Version: DOM Level 3 Core<<BR>>
* URL: [[http://www.w3.org/TR/DOM-Level-3-Core/core.html#Level-2-Core-DOM-createDocument]]
- * @param namespace_uri URI for the namespace in which this Document belongs, or %NULL.
- * @param qualified_name A qualified name for the Document, or %NULL.
- * @param doctype The type of the document, or %NULL.
+ * @param namespace_uri URI for the namespace in which this Document belongs, or %NULL
+ * @param qualified_name A qualified name for the Document, or %NULL
+ * @param doctype The type of the document, or %NULL
*
- * @return The new document.
+ * @return The new document
*/
public Document create_document (string? namespace_uri, string? qualified_name, DocumentType?
doctype) {
Document doc;
@@ -106,10 +106,10 @@ namespace GXml {
*
* TODO: implement more of this, using libxml2's parser.h's xmlGetFeature, xmlHasFeature, etc.
*
- * @param feature A feature we might support, usually something like 'xml' or 'html'.
- * @param version A possible version of the feature, or %NULL if any version will do.
+ * @param feature A feature we might support, usually something like 'xml' or 'html'
+ * @param version A possible version of the feature, or %NULL if any version will do
*
- * @return true if we support the specified feature, false otherwise.
+ * @return true if we support the specified feature, false otherwise
*/
public bool has_feature (string feature, string? version = null) {
/* Level 1 is limited to "xml" and "html" (icase) */
diff --git a/gxml/Node.vala b/gxml/Node.vala
index cf419c9..711eef1 100644
--- a/gxml/Node.vala
+++ b/gxml/Node.vala
@@ -463,7 +463,7 @@ namespace GXml {
*
* URL: [[http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#method-cloneNode]]
*
- * @param deep If %TRUE, descendants are cloned as well. If %FALSE, they are not.
+ * @param deep If %TRUE, descendants are cloned as well. If %FALSE, they are not
*
* @return A parentless clone of this node. Do not
* free it, its memory will be released when the owning
@@ -482,7 +482,7 @@ namespace GXml {
* libxml2 will not handle that case. (See libxml2's
* xmlNodeDumpOutput internals to understand more.)
*
- * @param format %FALSE: no formatting, %TRUE: formatted, with indentation.
+ * @param format %FALSE: no formatting, %TRUE: formatted, with indentation
* @param level Indentation level
*
* @return XML string for node, which must be free
diff --git a/gxml/NodeList.vala b/gxml/NodeList.vala
index a0c7352..c32754f 100644
--- a/gxml/NodeList.vala
+++ b/gxml/NodeList.vala
@@ -120,8 +120,8 @@ namespace GXml {
* Obtain the item n places before pivot in the list.
* Like { link GLib.List.nth_prev}.
*
- * @param pivot A reference point in the list, from which we'll count back.
- * @param n How many nodes to count back from the reference point.
+ * @param pivot A reference point in the list, from which we'll count back
+ * @param n How many nodes to count back from the reference point
*
* @return The node that is `n` nodes before `pivot` in the list
*/
@@ -153,7 +153,7 @@ namespace GXml {
*
* @param target A node in the list
*
- * @return The position of `target` in the list.
+ * @return The position of `target` in the list
*/
public abstract int position (Node target);
@@ -173,9 +173,9 @@ namespace GXml {
*
* #todo: write a test
*
- * @param in_line Whether to parse and expand entities or not.
+ * @param in_line Whether to parse and expand entities or not
*
- * @return The list as an XML string.
+ * @return The list as an XML string
*/
/*
* @todo: write a test
diff --git a/gxml/Serializable.vala b/gxml/Serializable.vala
index 83712f2..9afa0de 100644
--- a/gxml/Serializable.vala
+++ b/gxml/Serializable.vala
@@ -91,9 +91,9 @@ namespace GXml {
* to know about the property.
*
* @param property_name the name of the property as a string
- * @param spec the { link GLib.ParamSpec} describing the property.
+ * @param spec the { link GLib.ParamSpec} describing the property
* @param property_node the { link GXml.Node} encapsulating data to deserialize
- * @return `true` if the property was handled, `false` if { link GXml.Serialization} should
handle it.
+ * @return `true` if the property was handled, `false` if { link GXml.Serialization} should
handle it
*/
/*
* @todo: consider not giving property_name, but
@@ -121,8 +121,8 @@ namespace GXml {
* this method. If the method returns %NULL,
* { link GXml.Serialization} will attempt handle it itsel.
*
- * @param property_name string name of a property to serialize.
- * @param spec the { link GLib.ParamSpec} describing the property.
+ * @param property_name string name of a property to serialize
+ * @param spec the { link GLib.ParamSpec} describing the property
* @param doc the { link GXml.Document} the returned { link GXml.Node} should belong to
* @return a new { link GXml.Node}, or %NULL
*/
@@ -202,7 +202,7 @@ namespace GXml {
/*
* Get a string version of the specified property
*
- * @param spec The property we're retrieving as a string.
+ * @param spec The property we're retrieving as a string
*
* { link GXml.Serialization} uses { link GLib.Object.get_property} (as
* well as { link GLib.ObjectClass.find_property},
@@ -235,7 +235,7 @@ namespace GXml {
* Set a property's value.
*
* @param spec Specifies the property whose value will be set
- * @param value The value to set the property to.
+ * @param value The value to set the property to
*
* { link GXml.Serialization} uses { link GLib.Object.set_property} (as
* well as { link GLib.ObjectClass.find_property},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]