[gxml] * fix more trailing whitespace



commit 47203b27040ea67ae096ba8e300eea1321427a11
Author: Richard Schwarting <aquarichy gmail com>
Date:   Thu Jul 21 14:40:25 2011 -0400

    * fix more trailing whitespace

 gxml/Attr.vala          |    2 +-
 gxml/CharacterData.vala |    2 +-
 gxml/Document.vala      |   14 +++++++-------
 gxml/DocumentType.vala  |    2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gxml/Attr.vala b/gxml/Attr.vala
index 0ca2211..e6e5533 100644
--- a/gxml/Attr.vala
+++ b/gxml/Attr.vala
@@ -95,7 +95,7 @@ namespace GXml.Dom {
 		/* Public properties (Attr-specific) */
 
 		/**
-		 * The name of the attribute's name=value pair. 
+		 * The name of the attribute's name=value pair.
 		 */
 		public string name {
 			get {
diff --git a/gxml/CharacterData.vala b/gxml/CharacterData.vala
index 1803c17..58ce6e0 100644
--- a/gxml/CharacterData.vala
+++ b/gxml/CharacterData.vala
@@ -29,7 +29,7 @@ namespace GXml.Dom {
 			private set {
 			}
 		}
-		
+
 		internal CharacterData (Xml.Node *char_node, Document doc) {
 			base (char_node, doc);
 			// TODO: if this was this (), it would recurse infinitely, maybe valac could detect that
diff --git a/gxml/Document.vala b/gxml/Document.vala
index 89758cc..a4cc5f5 100644
--- a/gxml/Document.vala
+++ b/gxml/Document.vala
@@ -37,7 +37,7 @@ namespace GXml.Dom {
 	}
 
 	/**
-	 * Represents an XML Document as a tree of nodes. The Document has a document element, which is the root of the tree. A Document can have its type defined by a DocumentType. 
+	 * Represents an XML Document as a tree of nodes. The Document has a document element, which is the root of the tree. A Document can have its type defined by a DocumentType.
 	 * For more, see: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#i-Document]]
 	 */
 	public class Document : XNode {
@@ -139,7 +139,7 @@ namespace GXml.Dom {
 
 		// TODO: DTD
 		/**
-		 * The Document Type Definition (DTD) defining this document. This may be null. 
+		 * The Document Type Definition (DTD) defining this document. This may be null.
 		 */
 		public DocumentType? doctype {
 			// either null, or a DocumentType object
@@ -197,7 +197,7 @@ namespace GXml.Dom {
 		 * Creates a Document from the file at file_path.
 		 *
 		 * @throws DomError When a Document cannot be constructed for the specified file.
-		 */ 
+		 */
 		public Document.for_path (string file_path) throws DomError {
 			Xml.Doc *doc = Xml.Parser.parse_file (file_path); // consider using read_file
 			// TODO: might want to check that the file_path exists
@@ -257,7 +257,7 @@ namespace GXml.Dom {
 
 			return bytes_read;
 		}
-		// TODO: can we make this private? 
+		// TODO: can we make this private?
 		internal static int _ioinclose (void *ctx) {
 			InputStreamBox *box = (InputStreamBox*)ctx;
 			InputStream instream = box->str;
@@ -280,7 +280,7 @@ namespace GXml.Dom {
 		 * Creates a Document from the File fin.
 		 *
 		 * @throws DomError When a Document cannot be constructed for the specified file.
-		 */ 
+		 */
 		public Document.for_file (File fin) throws DomError {
 			// TODO: accept cancellable
 			InputStream instream;
@@ -296,7 +296,7 @@ namespace GXml.Dom {
 		 * Creates a Document from data provided through the InputStream instream.
 		 *
 		 * @throws DomError When a Document cannot be constructed for the specified stream.
-		 */ 
+		 */
 		public Document.for_stream (InputStream instream) throws DomError {
 			// TODO: accept Cancellable
 			Cancellable can = new Cancellable ();
@@ -315,7 +315,7 @@ namespace GXml.Dom {
 		 * Creates a Document from data found in memory.
 		 *
 		 * @throws DomError When a Document cannot be constructed for the specified data.
-		 */ 
+		 */
 		public Document.from_string (string memory) throws DomError {
 			Xml.Doc *doc = Xml.Parser.parse_memory (memory, (int)memory.length);
 			this (doc);
diff --git a/gxml/DocumentType.vala b/gxml/DocumentType.vala
index fb304ba..52545fd 100644
--- a/gxml/DocumentType.vala
+++ b/gxml/DocumentType.vala
@@ -42,7 +42,7 @@ namespace GXml.Dom {
 
 		/* using GHashTable for XML's NamedNodeMap */
 		/**
-		 * A HashTable of entities defined for this DocumentType. 
+		 * A HashTable of entities defined for this DocumentType.
 		 */
 		// TODO: provide examples
 		public HashTable<string,Entity>? entities {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]