incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 10596 - incubator/depot/trunk/version/src/java/org/apache/depot/version/taglib
Date Tue, 11 May 2004 22:41:06 GMT
Author: ajack
Date: Tue May 11 15:41:05 2004
New Revision: 10596

Modified:
   incubator/depot/trunk/version/src/java/org/apache/depot/version/taglib/VersionEnvironmentTag.java
Log:
Formatting tweaks.



Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/taglib/VersionEnvironmentTag.java
==============================================================================
--- incubator/depot/trunk/version/src/java/org/apache/depot/version/taglib/VersionEnvironmentTag.java
(original)
+++ incubator/depot/trunk/version/src/java/org/apache/depot/version/taglib/VersionEnvironmentTag.java
Tue May 11 15:41:05 2004
@@ -96,10 +96,10 @@
 
 	private void generateHtml(HtmlContent htmlBuf, VersionEnvironment env) {
 
+		htmlBuf.generateTitle("JVM Information:");
 		VersionMarker jvm = env.getJvmVersion();
-		htmlBuf.generateLine(jvm.toString());
 		VersionMarker jvmSpec = env.getJvmSpecificationVersion();
-		htmlBuf.generateLine(jvmSpec.toString());
+		htmlBuf.generateDefinition(jvm.toString(), jvmSpec.toString());
 
 		generateHtml(htmlBuf, env.getPathContext());
 		generateHtml(htmlBuf, env.getExtensions());
@@ -115,6 +115,8 @@
 	public void generateHtmlClassloader(HtmlContent htmlBuf, int depth,
 			ClassLoader classloader) {
 
+		htmlBuf.generateTitle("ClassLoader Tree:");
+		
 		String indent = DebugUtils.getIndent(depth);
 
 		HtmlContent out = new HtmlContent();
@@ -133,7 +135,7 @@
 	}
 
 	private void generateHtmlPathSet(HtmlContent htmlBuf, PathSet pathSet) {
-		htmlBuf.generateHtml("PathSet: " + pathSet.getName());
+		htmlBuf.generateTitle("PathSet: " + pathSet.getName());
 
 		for (Iterator i = pathSet.iterator(); i.hasNext();) {
 			PathPart part = (PathPart) i.next();
@@ -144,9 +146,9 @@
 
 	private void generateHtml(HtmlContent htmlBuf, VersionRegistry versions) {
 
+		htmlBuf.generateTitle("Versions:");
 		if (versions.hasEntries()) {
 
-			htmlBuf.generateTitle("Versions:");
 
 			htmlBuf.startDefinitions();
 
@@ -180,9 +182,9 @@
 
 	private void generateHtml(HtmlContent htmlBuf, ExtensionRegistry extensions) {
 
+		htmlBuf.generateTitle("Virtual Machine Extensions:");
 		if (extensions.hasEntries()) {
 
-			htmlBuf.generateTitle("Virtual Machine Extensions:");
 
 			htmlBuf.startDefinitions();
 			
@@ -228,6 +230,8 @@
 	private void generateHtml(HtmlContent htmlBuf,
 			ConstraintRegistry constraints) {
 
+		htmlBuf.generateTitle("Constraints:");
+		
 		if (constraints.hasEntries()) {
 
 			htmlBuf.generateTitle("Constraints:");
@@ -241,8 +245,9 @@
 
 	private void generateHtml(HtmlContent htmlBuf, ConstraintSet set) {
 
+		htmlBuf.generateLine("ConstraintSet: " + set.getName());
+		
 		if (set.hasEntries()) {
-			htmlBuf.generateLine("ConstraintSet: " + set.getName());
 
 			htmlBuf.startDefinitions();
 			for (Iterator i = set.iterator(); i.hasNext();) {
@@ -253,5 +258,4 @@
 		} else
 			htmlBuf.generateLine("No constraints in set");
 	}
-
 }

Mime
View raw message