forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r555160 - /forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceTypeAction.java
Date Wed, 11 Jul 2007 04:10:53 GMT
Author: crossley
Date: Tue Jul 10 21:10:53 2007
New Revision: 555160

URL: http://svn.apache.org/viewvc?view=rev&rev=555160
Log:
Tabs to spaces. Please follow the format already in use by each file.

Modified:
    forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceTypeAction.java

Modified: forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceTypeAction.java
URL: http://svn.apache.org/viewvc/forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceTypeAction.java?view=diff&rev=555160&r1=555159&r2=555160
==============================================================================
--- forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceTypeAction.java (original)
+++ forrest/trunk/main/java/org/apache/forrest/sourcetype/SourceTypeAction.java Tue Jul 10
21:10:53 2007
@@ -98,12 +98,12 @@
                 else if (event.type == XMLEvent.ELEMENT)
                 {
                     ElementEvent elementEvent = (ElementEvent)event;
-		    if (elementEvent.element.uri == RDF_NAMESPACE) 
-		    {
-			while ((event = parser.nextEvent()) != null && 
-				elementEvent.element.uri == RDF_NAMESPACE)
-			    event = parser.nextEvent();
-		    }
+                    if (elementEvent.element.uri == RDF_NAMESPACE) 
+                    {
+                        while ((event = parser.nextEvent()) != null && 
+                                elementEvent.element.uri == RDF_NAMESPACE)
+                            event = parser.nextEvent();
+                    }
                     sourceInfo.setDocumentElementLocalName(elementEvent.element.localpart);
                     sourceInfo.setDocumentElementNamespace(elementEvent.element.uri);
 
@@ -111,7 +111,7 @@
                     sourceInfo.setXsiNoNamespaceSchemaLocation(elementEvent.attributes.getValue(XSI_NAMESPACE,
"noNamespaceSchemaLocation"));
 
                     // stop parsing after the root element
-		    break;
+                    break;
                 }
             }
         }



Mime
View raw message