clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/9] CLEREZZA-435: repaced tabs with spaces in scala files
Date Wed, 04 Dec 2013 15:21:18 GMT
Updated Branches:
  refs/heads/master a7d9d0fc3 -> 35448624b


http://git-wip-us.apache.org/repos/asf/clerezza/blob/35448624/site/src/main/scala/HeadedPageRenderlet.scala
----------------------------------------------------------------------
diff --git a/site/src/main/scala/HeadedPageRenderlet.scala b/site/src/main/scala/HeadedPageRenderlet.scala
index 3862edf..70f8275 100644
--- a/site/src/main/scala/HeadedPageRenderlet.scala
+++ b/site/src/main/scala/HeadedPageRenderlet.scala
@@ -16,20 +16,20 @@ import org.apache.clerezza.rdf.ontologies.DC
  */
 class HeadedPageRenderlet extends SRenderlet {
 
-	val getRdfType = PLATFORM.HeadedPage
+  val getRdfType = PLATFORM.HeadedPage
 
-	override def getModePattern = "(?!.*naked).*"
+  override def getModePattern = "(?!.*naked).*"
 
-	override def renderedPage(arguments: XmlResult.Arguments) = {
-		new XmlResult(arguments) {
-			def menuLink(href: String, label: String) =
-			if ((res*).endsWith(href) || (res*).endsWith(href+"index")) {
-				 <a href={href} class="active">{label}</a>
-			} else {
-				 <a href={href}>{label}</a>
-			}
-			override def content = {
-				resultDocModifier.addStyleSheet("/style/style.css");
+  override def renderedPage(arguments: XmlResult.Arguments) = {
+    new XmlResult(arguments) {
+      def menuLink(href: String, label: String) =
+      if ((res*).endsWith(href) || (res*).endsWith(href+"index")) {
+         <a href={href} class="active">{label}</a>
+      } else {
+         <a href={href}>{label}</a>
+      }
+      override def content = {
+        resultDocModifier.addStyleSheet("/style/style.css");
 resultDocModifier.addScriptReference("/jquery/jquery-1.3.2.min.js");
 /*resultDocModifier.addScriptReference("/jquery/jquery.menu.js");
 resultDocModifier.addScriptReference("/jquery/jquery.panel.js");
@@ -37,93 +37,93 @@ resultDocModifier.addScriptReference("/style/scripts/panel.js");*/
 resultDocModifier.addScriptReference("/scripts/modification-status.js");
 resultDocModifier.addScriptReference("/scripts/status-message.js");
 <html xmlns="http://www.w3.org/1999/xhtml">
-	<head>
-		{(res/DISCOBITS.contains).find(e => ((e/DISCOBITS.pos*) == "0")) match {
-				case Some(e) => <title>{render(e/DISCOBITS.holds, "naked")}</title>
-				case None => <title>An incomplete titled content {res/DISCOBITS.contains*}</title>
-			}
-		}
-	</head>
-	<body>
-		<div class="zz-header">
-			<div class="bar"></div>
-			<div class="logo">
-				<a href="http://clerezza.apache.org/" style=""><img src="/images/logo.png" alt="logo"
/></a>
-			</div>
-			<div class="module-info">
-				<span id="tx-module">
-					<div id="tx-page-actions">
-						<ol id="tx-page-actions-ol">
-						</ol>
-					</div>
-				</span>
-				<div id="tx-module-tabs">
-					<ol id="tx-module-tabs-ol">
-					</ol>
-					
-				</div>
-			</div>
-			
-			<div class="zz-control">
-				<div class="login">
-						{
-							def platform(s: Any) = new UriRef("http://clerezza.org/2009/08/platform#"+s)
-							val username = (context/platform("user")/platform("userName")*)
-							if((username).equals("anonymous")) {
-								<span>
-									<a href="#" id="tx-login-button">login</a>
-								</span>
-							} else {
-								<span><a href={"/user/" + username + "/control-panel"}>{username}</a>|<a
href="/logout">logout</a></span>
-							}
-						}
-			</div>
-				<div class="actions" id="tx-contextual-buttons">
-						<ol id="tx-contextual-buttons-ol">
-						</ol>
-					</div>
-				<div id="tx-module-options">
-					<ol id="tx-module-options-ol">
-					</ol>
-				</div>
-				
-				
-				<div class="tx-panel" id="tx-panel">
-					<div id="tx-panel-title"><h3></h3></div>
-					<div class="tx-panel-window">
-						<div class="tx-panel-tab-buttons" id="tx-panel-tab-buttons">
-							<ol id="tx-panel-tab-buttons-ol">
-							</ol>
-						</div>
-						<div class="tx-panel-tabs" id="tx-panel-tabs"></div>
-					</div>
-				</div>
-				
-			</div>
-		</div>
-		{render(context,"menu")}
-		<div class="zz-content">
-		{
-			if (mode == null) {
-				render(res, "naked")
-			} else {
-				render(res, mode + "-naked")
-			}
-		}
-		</div>
-						<div class="footer">
-							<div class="logos"><img src="/images/feather.png" /><img src="/images/sw-vert-w3c.png"
/><img src="/images/footer-logo.png" /></div>
+  <head>
+    {(res/DISCOBITS.contains).find(e => ((e/DISCOBITS.pos*) == "0")) match {
+        case Some(e) => <title>{render(e/DISCOBITS.holds, "naked")}</title>
+        case None => <title>An incomplete titled content {res/DISCOBITS.contains*}</title>
+      }
+    }
+  </head>
+  <body>
+    <div class="zz-header">
+      <div class="bar"></div>
+      <div class="logo">
+        <a href="http://clerezza.apache.org/" style=""><img src="/images/logo.png"
alt="logo" /></a>
+      </div>
+      <div class="module-info">
+        <span id="tx-module">
+          <div id="tx-page-actions">
+            <ol id="tx-page-actions-ol">
+            </ol>
+          </div>
+        </span>
+        <div id="tx-module-tabs">
+          <ol id="tx-module-tabs-ol">
+          </ol>
+          
+        </div>
+      </div>
+      
+      <div class="zz-control">
+        <div class="login">
+            {
+              def platform(s: Any) = new UriRef("http://clerezza.org/2009/08/platform#"+s)
+              val username = (context/platform("user")/platform("userName")*)
+              if((username).equals("anonymous")) {
+                <span>
+                  <a href="#" id="tx-login-button">login</a>
+                </span>
+              } else {
+                <span><a href={"/user/" + username + "/control-panel"}>{username}</a>|<a
href="/logout">logout</a></span>
+              }
+            }
+      </div>
+        <div class="actions" id="tx-contextual-buttons">
+            <ol id="tx-contextual-buttons-ol">
+            </ol>
+          </div>
+        <div id="tx-module-options">
+          <ol id="tx-module-options-ol">
+          </ol>
+        </div>
+        
+        
+        <div class="tx-panel" id="tx-panel">
+          <div id="tx-panel-title"><h3></h3></div>
+          <div class="tx-panel-window">
+            <div class="tx-panel-tab-buttons" id="tx-panel-tab-buttons">
+              <ol id="tx-panel-tab-buttons-ol">
+              </ol>
+            </div>
+            <div class="tx-panel-tabs" id="tx-panel-tabs"></div>
+          </div>
+        </div>
+        
+      </div>
+    </div>
+    {render(context,"menu")}
+    <div class="zz-content">
+    {
+      if (mode == null) {
+        render(res, "naked")
+      } else {
+        render(res, mode + "-naked")
+      }
+    }
+    </div>
+            <div class="footer">
+              <div class="logos"><img src="/images/feather.png" /><img src="/images/sw-vert-w3c.png"
/><img src="/images/footer-logo.png" /></div>
 
-							<div class="divider"></div>
-							<div class="dark">
-								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather
logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation.
<br></br>© 2011 The Apache Software Foundation.</div>
-							</div>
-						</div>
-	</body>
+              <div class="divider"></div>
+              <div class="dark">
+                <div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache
feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation.
<br></br>© 2011 The Apache Software Foundation.</div>
+              </div>
+            </div>
+  </body>
 </html>
-			
-			}
-		}
-	}
+      
+      }
+    }
+  }
 
 }

http://git-wip-us.apache.org/repos/asf/clerezza/blob/35448624/site/src/main/scala/Ontology.scala
----------------------------------------------------------------------
diff --git a/site/src/main/scala/Ontology.scala b/site/src/main/scala/Ontology.scala
index 6f24e28..9fba93e 100644
--- a/site/src/main/scala/Ontology.scala
+++ b/site/src/main/scala/Ontology.scala
@@ -4,9 +4,9 @@ import org.apache.clerezza.rdf.core.UriRef
 
 object Ontology {
 
-	/**
-	 * The uri for the RDF type of HelloWordMessage
-	 */
-	val HelloWordMessageType = new UriRef("http://example.org/skeleton#HelloWordMessage")
+  /**
+   * The uri for the RDF type of HelloWordMessage
+   */
+  val HelloWordMessageType = new UriRef("http://example.org/skeleton#HelloWordMessage")
 
 }

http://git-wip-us.apache.org/repos/asf/clerezza/blob/35448624/site/src/main/scala/TitledContentRenderlet.scala
----------------------------------------------------------------------
diff --git a/site/src/main/scala/TitledContentRenderlet.scala b/site/src/main/scala/TitledContentRenderlet.scala
index e61c7c5..366d7d9 100644
--- a/site/src/main/scala/TitledContentRenderlet.scala
+++ b/site/src/main/scala/TitledContentRenderlet.scala
@@ -16,124 +16,124 @@ import org.apache.clerezza.rdf.ontologies.DC
  */
 class TitledContentRenderlet extends SRenderlet {
 
-	val getRdfType = DISCOBITS.TitledContent
-
-	override def getModePattern = null
-
-	override def renderedPage(arguments: XmlResult.Arguments) = {
-		new XmlResult(arguments) {
-			def menuLink(href: String, label: String) =
-			if ((res*).endsWith(href) || (res*).endsWith(href+"index")) {
-				 <a href={href} class="active">{label}</a>
-			} else {
-				 <a href={href}>{label}</a>
-			}
-			override def content = {
-				<html xmlns="http://www.w3.org/1999/xhtml">
-					<head>
-						<link type="text/css" href="/style/style.css" rel="stylesheet" />
-						{(res/DISCOBITS.contains).find(e => ((e/DISCOBITS.pos*) == "0")) match {
-								case Some(e) => <title>{render(e/DISCOBITS.holds, "naked")}</title>
-								case None => <title>An incomplete titled content {res/DISCOBITS.contains*}</title>
-							}
-						}
-					</head>
-					<body>
-						<div class="zz-header">
-
-							<div class="bar"></div>
-							<div class="logo">
-								<a href="http://clerezza.apache.org/" style=""><img src="/images/logo.png"
alt="logo" /></a>
-							</div>
-						</div>
-						<div class="column nav">
-							<ul>
-								<li class="top-nav-entry"><div class="title">Documentation</div>
-
-									<ul class="nav-entries">
-										<li>{menuLink("/getting-started/","Getting Started")}</li>
-										<li>{menuLink("/architecture/","The Apache Clerezza Stack")}</li>
-										<li><a href="http://clerezza.apache.org/apidocs/" target="_blank">API
docs</a></li>
-										<li>{menuLink("/faq/","FAQ")}</li>
-									</ul>
-								</li>
-
-								<li class="top-nav-entry"><div class="title">Project Infos</div>
-									<ul  class="nav-entries">
-										<li>{menuLink("/downloads/","Downloads")}</li>
-										<li>{menuLink("/contributing/", "Contributing")}</li>
-										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
-										<li>{menuLink("/mailinglists/","Mailing lists")}</li>
-										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue
Tracker</a></li>
-
-										<li><a href="http://svn.apache.org/viewvc/clerezza/trunk/" target="_blank">Source
Repository</a></li>
-									</ul>
-								</li>
-								<li class="top-nav-entry"><div class="title">Sponsorship</div>
-									<ul  class="nav-entries">
-										<li><a href="/thanks/">Thanks</a></li>
-										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become
a Sponsor</a></li>
-										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy
Stuff</a></li>
-									</ul>
-								</li>
-							</ul>
-						</div>
-
-						<div class="zz-content">
-							{render(res, "naked")}
-						</div>
-						<div class="footer">
-							<div class="logos"><img src="/images/feather.png" /><img src="/images/sw-vert-w3c.png"
/><img src="/images/footer-logo.png" /></div>
-
-							<div class="divider"></div>
-							<div class="dark">
-								<div class="sitemap">
-									<div class="sitemap-title">Sitemap</div>
-									<div class="sitemap-content">
-										<div class="sitemap-column">
-											<div class="title" >Documentation</div>
-											<ul>
-
-												<li><a href="/getting-started/">Getting Started</a></li>
-												<li><a href="/architecture/">The Apache Clerezza Stack</a></li>
-												<li><a href="http://clerezza,apache.org/apidocs/" target="_blank">API
docs</a></li>
-												<li><a href="/faq/">FAQ</a></li>
-											</ul>
-
-										</div>
-										<div class="sitemap-column">
-
-											<div class="title" >Project Infos</div>
-											<ul >
-												<li><a href="/downloads/">Downloads</a></li>
-												<li><a href="/contributing/">Contributing</a></li>
-												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
-												<li><a href="mailinglists/">Mailing lists</a></li>
-												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue
Tracker</a></li>
-
-												<li><a href="http://svn.apache.org/viewvc/clerezza/trunk/" target="_blank">Source
Repository</a></li>
-											</ul>
-										</div>
-										<div class="sitemap-column">
-											<div class="title" >Sponsorship</div>
-											<ul>
-												<li><a href="/thanks/">Thanks</a></li>
-												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become
a Sponsor</a></li>
-												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy
Stuff</a></li>
-											</ul>
-										</div>
-									</div>
-
-								</div>
-								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather
logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation.
<br></br>© 2011 The Apache Software Foundation.</div>
-							</div>
-						</div>
-
-
-					</body>
-				</html>
-			}
-		}
-	}
+  val getRdfType = DISCOBITS.TitledContent
+
+  override def getModePattern = null
+
+  override def renderedPage(arguments: XmlResult.Arguments) = {
+    new XmlResult(arguments) {
+      def menuLink(href: String, label: String) =
+      if ((res*).endsWith(href) || (res*).endsWith(href+"index")) {
+         <a href={href} class="active">{label}</a>
+      } else {
+         <a href={href}>{label}</a>
+      }
+      override def content = {
+        <html xmlns="http://www.w3.org/1999/xhtml">
+          <head>
+            <link type="text/css" href="/style/style.css" rel="stylesheet" />
+            {(res/DISCOBITS.contains).find(e => ((e/DISCOBITS.pos*) == "0")) match {
+                case Some(e) => <title>{render(e/DISCOBITS.holds, "naked")}</title>
+                case None => <title>An incomplete titled content {res/DISCOBITS.contains*}</title>
+              }
+            }
+          </head>
+          <body>
+            <div class="zz-header">
+
+              <div class="bar"></div>
+              <div class="logo">
+                <a href="http://clerezza.apache.org/" style=""><img src="/images/logo.png"
alt="logo" /></a>
+              </div>
+            </div>
+            <div class="column nav">
+              <ul>
+                <li class="top-nav-entry"><div class="title">Documentation</div>
+
+                  <ul class="nav-entries">
+                    <li>{menuLink("/getting-started/","Getting Started")}</li>
+                    <li>{menuLink("/architecture/","The Apache Clerezza Stack")}</li>
+                    <li><a href="http://clerezza.apache.org/apidocs/" target="_blank">API
docs</a></li>
+                    <li>{menuLink("/faq/","FAQ")}</li>
+                  </ul>
+                </li>
+
+                <li class="top-nav-entry"><div class="title">Project Infos</div>
+                  <ul  class="nav-entries">
+                    <li>{menuLink("/downloads/","Downloads")}</li>
+                    <li>{menuLink("/contributing/", "Contributing")}</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li>{menuLink("/mailinglists/","Mailing lists")}</li>
+                    <li><a href="http://issues.apache.org/jira/browse/CLEREZZA"
target="_blank">Issue Tracker</a></li>
+
+                    <li><a href="http://svn.apache.org/viewvc/clerezza/trunk/" target="_blank">Source
Repository</a></li>
+                  </ul>
+                </li>
+                <li class="top-nav-entry"><div class="title">Sponsorship</div>
+                  <ul  class="nav-entries">
+                    <li><a href="/thanks/">Thanks</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html"
target="_blank">Become a Sponsor</a></li>
+                    <li><a href="http://www.apache.org/foundation/buy_stuff.html"
target="_blank">Buy Stuff</a></li>
+                  </ul>
+                </li>
+              </ul>
+            </div>
+
+            <div class="zz-content">
+              {render(res, "naked")}
+            </div>
+            <div class="footer">
+              <div class="logos"><img src="/images/feather.png" /><img src="/images/sw-vert-w3c.png"
/><img src="/images/footer-logo.png" /></div>
+
+              <div class="divider"></div>
+              <div class="dark">
+                <div class="sitemap">
+                  <div class="sitemap-title">Sitemap</div>
+                  <div class="sitemap-content">
+                    <div class="sitemap-column">
+                      <div class="title" >Documentation</div>
+                      <ul>
+
+                        <li><a href="/getting-started/">Getting Started</a></li>
+                        <li><a href="/architecture/">The Apache Clerezza Stack</a></li>
+                        <li><a href="http://clerezza,apache.org/apidocs/" target="_blank">API
docs</a></li>
+                        <li><a href="/faq/">FAQ</a></li>
+                      </ul>
+
+                    </div>
+                    <div class="sitemap-column">
+
+                      <div class="title" >Project Infos</div>
+                      <ul >
+                        <li><a href="/downloads/">Downloads</a></li>
+                        <li><a href="/contributing/">Contributing</a></li>
+                        <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                        <li><a href="mailinglists/">Mailing lists</a></li>
+                        <li><a href="http://issues.apache.org/jira/browse/CLEREZZA"
target="_blank">Issue Tracker</a></li>
+
+                        <li><a href="http://svn.apache.org/viewvc/clerezza/trunk/"
target="_blank">Source Repository</a></li>
+                      </ul>
+                    </div>
+                    <div class="sitemap-column">
+                      <div class="title" >Sponsorship</div>
+                      <ul>
+                        <li><a href="/thanks/">Thanks</a></li>
+                        <li><a href="http://www.apache.org/foundation/sponsorship.html"
target="_blank">Become a Sponsor</a></li>
+                        <li><a href="http://www.apache.org/foundation/buy_stuff.html"
target="_blank">Buy Stuff</a></li>
+                      </ul>
+                    </div>
+                  </div>
+
+                </div>
+                <div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache
feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation.
<br></br>© 2011 The Apache Software Foundation.</div>
+              </div>
+            </div>
+
+
+          </body>
+        </html>
+      }
+    }
+  }
 
 }


Mime
View raw message