geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viol...@apache.org
Subject svn commit: r1078686 [4/6] - in /geronimo/samples/trunk: ./ geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/src/main/resources/META-INF/ geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ejb/src/main/...
Date Mon, 07 Mar 2011 05:17:15 GMT
Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java Mon Mar  7 05:17:11 2011
@@ -86,86 +86,86 @@ public final class RequestDumperFilter i
      */
     public void doFilter(ServletRequest request, ServletResponse response,
                          FilterChain chain)
-	throws IOException, ServletException {
+    throws IOException, ServletException {
 
         if (filterConfig == null)
-	    return;
+        return;
 
-	// Render the generic servlet request properties
-	StringWriter sw = new StringWriter();
-	PrintWriter writer = new PrintWriter(sw);
-	writer.println("Request Received at " +
-		       (new Timestamp(System.currentTimeMillis())));
-	writer.println(" characterEncoding=" + request.getCharacterEncoding());
-	writer.println("     contentLength=" + request.getContentLength());
-	writer.println("       contentType=" + request.getContentType());
-	writer.println("            locale=" + request.getLocale());
-	writer.print("           locales=");
-	Enumeration locales = request.getLocales();
-	boolean first = true;
-	while (locales.hasMoreElements()) {
-	    Locale locale = (Locale) locales.nextElement();
-	    if (first)
-	        first = false;
-	    else
-	        writer.print(", ");
-	    writer.print(locale.toString());
-	}
-	writer.println();
-	Enumeration names = request.getParameterNames();
-	while (names.hasMoreElements()) {
-	    String name = (String) names.nextElement();
-	    writer.print("         parameter=" + name + "=");
-	    String values[] = request.getParameterValues(name);
-	    for (int i = 0; i < values.length; i++) {
-	        if (i > 0)
-		    writer.print(", ");
-		writer.print(values[i]);
-	    }
-	    writer.println();
-	}
-	writer.println("          protocol=" + request.getProtocol());
-	writer.println("        remoteAddr=" + request.getRemoteAddr());
-	writer.println("        remoteHost=" + request.getRemoteHost());
-	writer.println("            scheme=" + request.getScheme());
-	writer.println("        serverName=" + request.getServerName());
-	writer.println("        serverPort=" + request.getServerPort());
-	writer.println("          isSecure=" + request.isSecure());
-
-	// Render the HTTP servlet request properties
-	if (request instanceof HttpServletRequest) {
-	    writer.println("---------------------------------------------");
-	    HttpServletRequest hrequest = (HttpServletRequest) request;
-	    writer.println("       contextPath=" + hrequest.getContextPath());
-	    Cookie cookies[] = hrequest.getCookies();
+    // Render the generic servlet request properties
+    StringWriter sw = new StringWriter();
+    PrintWriter writer = new PrintWriter(sw);
+    writer.println("Request Received at " +
+               (new Timestamp(System.currentTimeMillis())));
+    writer.println(" characterEncoding=" + request.getCharacterEncoding());
+    writer.println("     contentLength=" + request.getContentLength());
+    writer.println("       contentType=" + request.getContentType());
+    writer.println("            locale=" + request.getLocale());
+    writer.print("           locales=");
+    Enumeration locales = request.getLocales();
+    boolean first = true;
+    while (locales.hasMoreElements()) {
+        Locale locale = (Locale) locales.nextElement();
+        if (first)
+            first = false;
+        else
+            writer.print(", ");
+        writer.print(locale.toString());
+    }
+    writer.println();
+    Enumeration names = request.getParameterNames();
+    while (names.hasMoreElements()) {
+        String name = (String) names.nextElement();
+        writer.print("         parameter=" + name + "=");
+        String values[] = request.getParameterValues(name);
+        for (int i = 0; i < values.length; i++) {
+            if (i > 0)
+            writer.print(", ");
+        writer.print(values[i]);
+        }
+        writer.println();
+    }
+    writer.println("          protocol=" + request.getProtocol());
+    writer.println("        remoteAddr=" + request.getRemoteAddr());
+    writer.println("        remoteHost=" + request.getRemoteHost());
+    writer.println("            scheme=" + request.getScheme());
+    writer.println("        serverName=" + request.getServerName());
+    writer.println("        serverPort=" + request.getServerPort());
+    writer.println("          isSecure=" + request.isSecure());
+
+    // Render the HTTP servlet request properties
+    if (request instanceof HttpServletRequest) {
+        writer.println("---------------------------------------------");
+        HttpServletRequest hrequest = (HttpServletRequest) request;
+        writer.println("       contextPath=" + hrequest.getContextPath());
+        Cookie cookies[] = hrequest.getCookies();
             if (cookies == null)
                 cookies = new Cookie[0];
-	    for (int i = 0; i < cookies.length; i++) {
-	        writer.println("            cookie=" + cookies[i].getName() +
-			       "=" + cookies[i].getValue());
-	    }
-	    names = hrequest.getHeaderNames();
-	    while (names.hasMoreElements()) {
-	        String name = (String) names.nextElement();
-		String value = hrequest.getHeader(name);
-	        writer.println("            header=" + name + "=" + value);
-	    }
-	    writer.println("            method=" + hrequest.getMethod());
-	    writer.println("          pathInfo=" + hrequest.getPathInfo());
-	    writer.println("       queryString=" + hrequest.getQueryString());
-	    writer.println("        remoteUser=" + hrequest.getRemoteUser());
-	    writer.println("requestedSessionId=" +
-			   hrequest.getRequestedSessionId());
-	    writer.println("        requestURI=" + hrequest.getRequestURI());
-	    writer.println("       servletPath=" + hrequest.getServletPath());
-	}
-	writer.println("=============================================");
-
-	// Log the resulting string
-	writer.flush();
-	filterConfig.getServletContext().log(sw.getBuffer().toString());
+        for (int i = 0; i < cookies.length; i++) {
+            writer.println("            cookie=" + cookies[i].getName() +
+                   "=" + cookies[i].getValue());
+        }
+        names = hrequest.getHeaderNames();
+        while (names.hasMoreElements()) {
+            String name = (String) names.nextElement();
+        String value = hrequest.getHeader(name);
+            writer.println("            header=" + name + "=" + value);
+        }
+        writer.println("            method=" + hrequest.getMethod());
+        writer.println("          pathInfo=" + hrequest.getPathInfo());
+        writer.println("       queryString=" + hrequest.getQueryString());
+        writer.println("        remoteUser=" + hrequest.getRemoteUser());
+        writer.println("requestedSessionId=" +
+               hrequest.getRequestedSessionId());
+        writer.println("        requestURI=" + hrequest.getRequestURI());
+        writer.println("       servletPath=" + hrequest.getServletPath());
+    }
+    writer.println("=============================================");
+
+    // Log the resulting string
+    writer.flush();
+    filterConfig.getServletContext().log(sw.getBuffer().toString());
 
-	// Pass control on to the next filter
+    // Pass control on to the next filter
         chain.doFilter(request, response);
 
     }
@@ -178,7 +178,7 @@ public final class RequestDumperFilter i
      */
     public void init(FilterConfig filterConfig) throws ServletException {
 
-	this.filterConfig = filterConfig;
+    this.filterConfig = filterConfig;
 
     }
 
@@ -188,12 +188,12 @@ public final class RequestDumperFilter i
      */
     public String toString() {
 
-	if (filterConfig == null)
-	    return ("RequestDumperFilter()");
-	StringBuffer sb = new StringBuffer("RequestDumperFilter(");
-	sb.append(filterConfig);
-	sb.append(")");
-	return (sb.toString());
+    if (filterConfig == null)
+        return ("RequestDumperFilter()");
+    StringBuffer sb = new StringBuffer("RequestDumperFilter(");
+    sb.append(filterConfig);
+    sb.append(")");
+    return (sb.toString());
 
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java Mon Mar  7 05:17:11 2011
@@ -111,7 +111,7 @@ public class SetCharacterEncodingFilter 
      */
     public void doFilter(ServletRequest request, ServletResponse response,
                          FilterChain chain)
-	throws IOException, ServletException {
+    throws IOException, ServletException {
 
         // Conditionally select and set the character encoding to be used
         if (ignore || (request.getCharacterEncoding() == null)) {
@@ -120,7 +120,7 @@ public class SetCharacterEncodingFilter 
                 request.setCharacterEncoding(encoding);
         }
 
-	// Pass control on to the next filter
+    // Pass control on to the next filter
         chain.doFilter(request, response);
 
     }
@@ -133,7 +133,7 @@ public class SetCharacterEncodingFilter 
      */
     public void init(FilterConfig filterConfig) throws ServletException {
 
-	this.filterConfig = filterConfig;
+    this.filterConfig = filterConfig;
         this.encoding = filterConfig.getInitParameter("encoding");
         String value = filterConfig.getInitParameter("ignore");
         if (value == null)

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/el/Functions.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/el/Functions.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/el/Functions.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/el/Functions.java Mon Mar  7 05:17:11 2011
@@ -30,13 +30,13 @@ public class Functions {
 
     public static int numVowels( String text ) {
         String vowels = "aeiouAEIOU";
-	int result = 0;
+    int result = 0;
         for( int i = 0; i < text.length(); i++ ) {
-	    if( vowels.indexOf( text.charAt( i ) ) != -1 ) {
-	        result++;
-	    }
-	}
-	return result;
+        if( vowels.indexOf( text.charAt( i ) ) != -1 ) {
+            result++;
+        }
+    }
+    return result;
     }
 
     public static String caps( String text ) {

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java Mon Mar  7 05:17:11 2011
@@ -37,19 +37,19 @@ public class EchoAttributesTag 
     private ArrayList values = new ArrayList();
 
     public void doTag() throws JspException, IOException {
-	JspWriter out = getJspContext().getOut();
-	for( int i = 0; i < keys.size(); i++ ) {
-	    String key = (String)keys.get( i );
-	    Object value = values.get( i );
-	    out.println( "<li>" + key + " = " + value + "</li>" );
+    JspWriter out = getJspContext().getOut();
+    for( int i = 0; i < keys.size(); i++ ) {
+        String key = (String)keys.get( i );
+        Object value = values.get( i );
+        out.println( "<li>" + key + " = " + value + "</li>" );
         }
     }
 
     public void setDynamicAttribute( String uri, String localName, 
-	Object value ) 
-	throws JspException
+    Object value ) 
+    throws JspException
     {
-	keys.add( localName );
-	values.add( value );
+    keys.add( localName );
+    values.add( value );
     }
 }

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java Mon Mar  7 05:17:11 2011
@@ -40,6 +40,6 @@ public class FindBookSimpleTag extends S
     }
 
     public void setVar( String var ) {
-	this.var = var;
+    this.var = var;
     }
 }

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java Mon Mar  7 05:17:11 2011
@@ -27,6 +27,6 @@ import java.io.IOException;
  */
 public class HelloWorldSimpleTag extends SimpleTagSupport {
     public void doTag() throws JspException, IOException {
-	getJspContext().getOut().write( "Hello, world!" );
+    getJspContext().getOut().write( "Hello, world!" );
     }
 }

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java Mon Mar  7 05:17:11 2011
@@ -33,11 +33,11 @@ public class RepeatSimpleTag extends Sim
     public void doTag() throws JspException, IOException {
         for (int i=0; i<num; i++) {
             getJspContext().setAttribute("count", String.valueOf( i + 1 ) );
-	    getJspBody().invoke(null);
+        getJspBody().invoke(null);
         }
     }
 
     public void setNum(int num) {
-	this.num = num;
+    this.num = num;
     }
 }

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java Mon Mar  7 05:17:11 2011
@@ -31,9 +31,9 @@ public class TileSimpleTag extends Simpl
     private String label;
 
     public void doTag() throws JspException, IOException {
-	getJspContext().getOut().write( 
-	    "<td width=\"32\" height=\"32\" bgcolor=\"" + this.color + 
-	    "\"><font color=\"#ffffff\"><center>" + this.label + 
+    getJspContext().getOut().write( 
+        "<td width=\"32\" height=\"32\" bgcolor=\"" + this.color + 
+        "\"><font color=\"#ffffff\"><center>" + this.label + 
                 "</center></font></td>" );
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java Mon Mar  7 05:17:11 2011
@@ -59,8 +59,8 @@ public final class ContextListener
      */
     public void attributeAdded(ServletContextAttributeEvent event) {
 
-	log("attributeAdded('" + event.getName() + "', '" +
-	    event.getValue() + "')");
+    log("attributeAdded('" + event.getName() + "', '" +
+        event.getValue() + "')");
 
     }
 
@@ -72,8 +72,8 @@ public final class ContextListener
      */
     public void attributeRemoved(ServletContextAttributeEvent event) {
 
-	log("attributeRemoved('" + event.getName() + "', '" +
-	    event.getValue() + "')");
+    log("attributeRemoved('" + event.getName() + "', '" +
+        event.getValue() + "')");
 
     }
 
@@ -85,8 +85,8 @@ public final class ContextListener
      */
     public void attributeReplaced(ServletContextAttributeEvent event) {
 
-	log("attributeReplaced('" + event.getName() + "', '" +
-	    event.getValue() + "')");
+    log("attributeReplaced('" + event.getName() + "', '" +
+        event.getValue() + "')");
 
     }
 
@@ -98,8 +98,8 @@ public final class ContextListener
      */
     public void contextDestroyed(ServletContextEvent event) {
 
-	log("contextDestroyed()");
-	this.context = null;
+    log("contextDestroyed()");
+    this.context = null;
 
     }
 
@@ -111,8 +111,8 @@ public final class ContextListener
      */
     public void contextInitialized(ServletContextEvent event) {
 
-	this.context = event.getServletContext();
-	log("contextInitialized()");
+    this.context = event.getServletContext();
+    log("contextInitialized()");
 
     }
 
@@ -127,10 +127,10 @@ public final class ContextListener
      */
     private void log(String message) {
 
-	if (context != null)
-	    context.log("ContextListener: " + message);
-	else
-	    System.out.println("ContextListener: " + message);
+    if (context != null)
+        context.log("ContextListener: " + message);
+    else
+        System.out.println("ContextListener: " + message);
 
     }
 
@@ -144,12 +144,12 @@ public final class ContextListener
      */
     private void log(String message, Throwable throwable) {
 
-	if (context != null)
-	    context.log("ContextListener: " + message, throwable);
-	else {
-	    System.out.println("ContextListener: " + message);
-	    throwable.printStackTrace(System.out);
-	}
+    if (context != null)
+        context.log("ContextListener: " + message, throwable);
+    else {
+        System.out.println("ContextListener: " + message);
+        throwable.printStackTrace(System.out);
+    }
 
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java Mon Mar  7 05:17:11 2011
@@ -40,7 +40,7 @@ import javax.servlet.http.HttpSessionLis
 
 public final class SessionListener
     implements ServletContextListener,
-	       HttpSessionAttributeListener, HttpSessionListener {
+           HttpSessionAttributeListener, HttpSessionListener {
 
 
     // ----------------------------------------------------- Instance Variables
@@ -62,8 +62,8 @@ public final class SessionListener
      */
     public void attributeAdded(HttpSessionBindingEvent event) {
 
-	log("attributeAdded('" + event.getSession().getId() + "', '" +
-	    event.getName() + "', '" + event.getValue() + "')");
+    log("attributeAdded('" + event.getSession().getId() + "', '" +
+        event.getName() + "', '" + event.getValue() + "')");
 
     }
 
@@ -75,8 +75,8 @@ public final class SessionListener
      */
     public void attributeRemoved(HttpSessionBindingEvent event) {
 
-	log("attributeRemoved('" + event.getSession().getId() + "', '" +
-	    event.getName() + "', '" + event.getValue() + "')");
+    log("attributeRemoved('" + event.getSession().getId() + "', '" +
+        event.getName() + "', '" + event.getValue() + "')");
 
     }
 
@@ -88,8 +88,8 @@ public final class SessionListener
      */
     public void attributeReplaced(HttpSessionBindingEvent event) {
 
-	log("attributeReplaced('" + event.getSession().getId() + "', '" +
-	    event.getName() + "', '" + event.getValue() + "')");
+    log("attributeReplaced('" + event.getSession().getId() + "', '" +
+        event.getName() + "', '" + event.getValue() + "')");
 
     }
 
@@ -101,8 +101,8 @@ public final class SessionListener
      */
     public void contextDestroyed(ServletContextEvent event) {
 
-	log("contextDestroyed()");
-	this.context = null;
+    log("contextDestroyed()");
+    this.context = null;
 
     }
 
@@ -114,8 +114,8 @@ public final class SessionListener
      */
     public void contextInitialized(ServletContextEvent event) {
 
-	this.context = event.getServletContext();
-	log("contextInitialized()");
+    this.context = event.getServletContext();
+    log("contextInitialized()");
 
     }
 
@@ -127,7 +127,7 @@ public final class SessionListener
      */
     public void sessionCreated(HttpSessionEvent event) {
 
-	log("sessionCreated('" + event.getSession().getId() + "')");
+    log("sessionCreated('" + event.getSession().getId() + "')");
 
     }
 
@@ -139,7 +139,7 @@ public final class SessionListener
      */
     public void sessionDestroyed(HttpSessionEvent event) {
 
-	log("sessionDestroyed('" + event.getSession().getId() + "')");
+    log("sessionDestroyed('" + event.getSession().getId() + "')");
 
     }
 
@@ -154,10 +154,10 @@ public final class SessionListener
      */
     private void log(String message) {
 
-	if (context != null)
-	    context.log("SessionListener: " + message);
-	else
-	    System.out.println("SessionListener: " + message);
+    if (context != null)
+        context.log("SessionListener: " + message);
+    else
+        System.out.println("SessionListener: " + message);
 
     }
 
@@ -171,12 +171,12 @@ public final class SessionListener
      */
     private void log(String message, Throwable throwable) {
 
-	if (context != null)
-	    context.log("SessionListener: " + message, throwable);
-	else {
-	    System.out.println("SessionListener: " + message);
-	    throwable.printStackTrace(System.out);
-	}
+    if (context != null)
+        context.log("SessionListener: " + message, throwable);
+    else {
+        System.out.println("SessionListener: " + message);
+        throwable.printStackTrace(System.out);
+    }
 
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/servletToJsp.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/servletToJsp.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/servletToJsp.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/servletToJsp.java Mon Mar  7 05:17:11 2011
@@ -20,14 +20,14 @@ import javax.servlet.http.*;
 public class servletToJsp extends HttpServlet {
 
     public void doGet (HttpServletRequest request,
-		       HttpServletResponse response) {
+               HttpServletResponse response) {
 
-	try {
-	    // Set the attribute and Forward to hello.jsp
-	    request.setAttribute ("servletName", "servletToJsp");
-	    getServletConfig().getServletContext().getRequestDispatcher("/jsptoserv/hello.jsp").forward(request, response);
-	} catch (Exception ex) {
-	    ex.printStackTrace ();
-	}
+    try {
+        // Set the attribute and Forward to hello.jsp
+        request.setAttribute ("servletName", "servletToJsp");
+        getServletConfig().getServletContext().getRequestDispatcher("/jsptoserv/hello.jsp").forward(request, response);
+    } catch (Exception ex) {
+        ex.printStackTrace ();
+    }
     }
 }

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/sessions/DummyCart.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/sessions/DummyCart.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/sessions/DummyCart.java (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/WEB-INF/classes/sessions/DummyCart.java Mon Mar  7 05:17:11 2011
@@ -26,45 +26,45 @@ public class DummyCart {
     String item = null;
     
     private void addItem(String name) {
-	v.addElement(name);
+    v.addElement(name);
     }
 
     private void removeItem(String name) {
-	v.removeElement(name);
+    v.removeElement(name);
     }
 
     public void setItem(String name) {
-	item = name;
+    item = name;
     }
     
     public void setSubmit(String s) {
-	submit = s;
+    submit = s;
     }
 
     public String[] getItems() {
-	String[] s = new String[v.size()];
-	v.copyInto(s);
-	return s;
+    String[] s = new String[v.size()];
+    v.copyInto(s);
+    return s;
     }
     
     public void processRequest(HttpServletRequest request) {
-	// null value for submit - user hit enter instead of clicking on 
-	// "add" or "remove"
-	if (submit == null) 
-	    addItem(item);
+    // null value for submit - user hit enter instead of clicking on 
+    // "add" or "remove"
+    if (submit == null) 
+        addItem(item);
 
-	if (submit.equals("add"))
-	    addItem(item);
-	else if (submit.equals("remove")) 
-	    removeItem(item);
-	
-	// reset at the end of the request
-	reset();
+    if (submit.equals("add"))
+        addItem(item);
+    else if (submit.equals("remove")) 
+        removeItem(item);
+    
+    // reset at the end of the request
+    reset();
     }
 
     // reset
     private void reset() {
-	submit = null;
-	item = null;
+    submit = null;
+    item = null;
     }
 }

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/code.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/code.gif?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/execute.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/execute.gif?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/read.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/read.gif?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/return.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/images/return.gif?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/jspattribute/jspattribute.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/jspattribute/jspattribute.jsp?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/jspattribute/jspattribute.jsp (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/jspattribute/jspattribute.jsp Mon Mar  7 05:17:11 2011
@@ -37,7 +37,7 @@ limitations under the License.
     Bean created! Setting foo.bar...<br>
     <jsp:setProperty name="foo" property="bar">
         <jsp:attribute name="value">
-	  <my:helloWorld/>
+      <my:helloWorld/>
         </jsp:attribute>
     </jsp:setProperty>
 </jsp:useBean>

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/jspx/textRotate.jpg
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/jspx/textRotate.jpg?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/tagfiles/products.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/tagfiles/products.jsp?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/tagfiles/products.jsp (original)
+++ geronimo/samples/trunk/samples/javaee5/jsp-examples/jsp-examples-war/src/main/webapp/jsp2/tagfiles/products.jsp Mon Mar  7 05:17:11 2011
@@ -32,23 +32,23 @@ limitations under the License.
 <h2>Products</h2>
 <tags:displayProducts>
       <jsp:attribute name="normalPrice">
-	Item: ${name}<br/>
-	Price: ${price}
+    Item: ${name}<br/>
+    Price: ${price}
       </jsp:attribute>
       <jsp:attribute name="onSale">
-	Item: ${name}<br/>
-	<font color="red"><strike>Was: ${origPrice}</strike></font><br/>
-	<b>Now: ${salePrice}</b>
+    Item: ${name}<br/>
+    <font color="red"><strike>Was: ${origPrice}</strike></font><br/>
+    <b>Now: ${salePrice}</b>
       </jsp:attribute>
 </tags:displayProducts>
 <hr>
 <h2>Products (Same tag, alternate style)</h2>
 <tags:displayProducts>
       <jsp:attribute name="normalPrice">
-	<b>${name}</b> @ ${price} ea.
+    <b>${name}</b> @ ${price} ea.
       </jsp:attribute>
       <jsp:attribute name="onSale">
-	<b>${name}</b> @ ${salePrice} ea. (was: ${origPrice})
+    <b>${name}</b> @ ${salePrice} ea. (was: ${origPrice})
       </jsp:attribute>
 </tags:displayProducts>
 </body>

Modified: geronimo/samples/trunk/samples/javaee5/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/pom.xml?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/pom.xml (original)
+++ geronimo/samples/trunk/samples/javaee5/pom.xml Mon Mar  7 05:17:11 2011
@@ -109,7 +109,7 @@
                 <module>jsp-examples</module>
                 <module>servlet-examples</module>
                 <!--<module>app-per-port</module>-->
-	            <!--<module>csa-activemq</module>-->
+                <!--<module>csa-activemq</module>-->
                 <!--<module>DataCDInfo</module>-->
             </modules>
         </profile>
@@ -138,7 +138,7 @@
                 <module>timereport</module>
                 <module>jsp-examples</module>
                 <module>servlet-examples</module>
-                <module>app-per-port</module>	            
+                <module>app-per-port</module>                
                 <module>DataCDInfo</module>
             </modules>
         </profile>

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/CookieExample.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/CookieExample.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/CookieExample.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/CookieExample.java Mon Mar  7 05:17:11 2011
@@ -52,12 +52,12 @@ public class CookieExample extends HttpS
         out.println("</head>");
         out.println("<body>");
 
-	// relative links
+    // relative links
 
         // XXX
         // making these absolute till we work out the
         // addition of a PathInfo issue 
-	
+    
         out.println("<a href=\"../cookies.html\">");
         out.println("<img src=\"../images/code.gif\" height=24 " +
                     "width=24 align=right border=0 alt=\"view code\"></a>");

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/HelloWorldExample.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/HelloWorldExample.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/HelloWorldExample.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/HelloWorldExample.java Mon Mar  7 05:17:11 2011
@@ -45,22 +45,22 @@ public class HelloWorldExample extends H
         out.println("<html>");
         out.println("<head>");
 
-	    String title = rb.getString("helloworld.title");
+        String title = rb.getString("helloworld.title");
 
-	    out.println("<title>" + title + "</title>");
+        out.println("<title>" + title + "</title>");
         out.println("</head>");
         out.println("<body bgcolor=\"white\">");
 
-	// note that all links are created to be relative. this
-	// ensures that we can move the web application that this
-	// servlet belongs to to a different place in the url
-	// tree and not have any harmful side effects.
+    // note that all links are created to be relative. this
+    // ensures that we can move the web application that this
+    // servlet belongs to to a different place in the url
+    // tree and not have any harmful side effects.
 
         // XXX
         // making these absolute till we work out the
         // addition of a PathInfo issue
 
-	    out.println("<a href=\"../helloworld.html\">");
+        out.println("<a href=\"../helloworld.html\">");
         out.println("<img src=\"../images/code.gif\" height=24 " +
                     "width=24 align=right border=0 alt=\"view code\"></a>");
         out.println("<a href=\"../index.html\">");

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestHeaderExample.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestHeaderExample.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestHeaderExample.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestHeaderExample.java Mon Mar  7 05:17:11 2011
@@ -52,12 +52,12 @@ public class RequestHeaderExample extend
         out.println("</head>");
         out.println("<body>");
 
-	// all links relative
+    // all links relative
 
         // XXX
         // making these absolute till we work out the
         // addition of a PathInfo issue 
-	
+    
         out.println("<a href=\"../reqheaders.html\">");
         out.println("<img src=\"../images/code.gif\" height=24 " +
                     "width=24 align=right border=0 alt=\"view code\"></a>");

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestInfoExample.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestInfoExample.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestInfoExample.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestInfoExample.java Mon Mar  7 05:17:11 2011
@@ -54,12 +54,12 @@ public class RequestInfoExample extends 
         out.println("<body bgcolor=\"white\">");
 
         // img stuff not req'd for source code html showing
-	// all links relative!
+    // all links relative!
 
         // XXX
         // making these absolute till we work out the
         // addition of a PathInfo issue
-	
+    
         out.println("<a href=\"../reqinfo.html\">");
         out.println("<img src=\"../images/code.gif\" height=24 " +
                     "width=24 align=right border=0 alt=\"view code\"></a>");
@@ -87,21 +87,21 @@ public class RequestInfoExample extends 
         out.println("</td></tr><tr><td>");
         out.println(rb.getString("requestinfo.label.remoteaddr"));
 
- 	String cipherSuite=
- 	    (String)request.getAttribute("javax.servlet.request.cipher_suite");
+     String cipherSuite=
+         (String)request.getAttribute("javax.servlet.request.cipher_suite");
         out.println("</td><td>");                
         out.println(request.getRemoteAddr());
         out.println("</table>");
 
- 	if(cipherSuite!=null){
- 	    out.println("</td></tr><tr><td>");	
- 	    out.println("SSLCipherSuite:");
- 	    out.println("</td>");
- 	    out.println("<td>");	    
- 	    out.println(request.getAttribute("javax.servlet.request.cipher_suite"));
-	    out.println("</td>");	    
- 	}
-	
+     if(cipherSuite!=null){
+         out.println("</td></tr><tr><td>");    
+         out.println("SSLCipherSuite:");
+         out.println("</td>");
+         out.println("<td>");        
+         out.println(request.getAttribute("javax.servlet.request.cipher_suite"));
+        out.println("</td>");        
+     }
+    
     }
 
     public void doPost(HttpServletRequest request,

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestParamExample.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestParamExample.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestParamExample.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/RequestParamExample.java Mon Mar  7 05:17:11 2011
@@ -55,12 +55,12 @@ public class RequestParamExample extends
 
         // img stuff not req'd for source code html showing
 
-	// all links relative
+    // all links relative
 
         // XXX
         // making these absolute till we work out the
         // addition of a PathInfo issue 
-	
+    
         out.println("<a href=\"../reqparams.html\">");
         out.println("<img src=\"../images/code.gif\" height=24 " +
                     "width=24 align=right border=0 alt=\"view code\"></a>");

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/SessionExample.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/SessionExample.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/SessionExample.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/SessionExample.java Mon Mar  7 05:17:11 2011
@@ -53,12 +53,12 @@ public class SessionExample extends Http
         out.println("<body>");
 
         // img stuff not req'd for source code html showing
-	// relative links everywhere!
+    // relative links everywhere!
 
         // XXX
         // making these absolute till we work out the
         // addition of a PathInfo issue 
-	
+    
         out.println("<a href=\"../sessions.html\">");
         out.println("<img src=\"../images/code.gif\" height=24 " +
                     "width=24 align=right border=0 alt=\"view code\"></a>");
@@ -94,7 +94,7 @@ public class SessionExample extends Http
 
         out.println("<P>");
         out.print("<form action=\"");
-	out.print(response.encodeURL("SessionExample"));
+    out.print(response.encodeURL("SessionExample"));
         out.print("\" ");
         out.println("method=POST>");
         out.println(rb.getString("sessions.dataname"));
@@ -108,7 +108,7 @@ public class SessionExample extends Http
 
         out.println("<P>GET based form:<br>");
         out.print("<form action=\"");
-	out.print(response.encodeURL("SessionExample"));
+    out.print(response.encodeURL("SessionExample"));
         out.print("\" ");
         out.println("method=GET>");
         out.println(rb.getString("sessions.dataname"));
@@ -121,9 +121,9 @@ public class SessionExample extends Http
         out.println("</form>");
 
         out.print("<p><a href=\"");
-	out.print(response.encodeURL("SessionExample?dataname=foo&datavalue=bar"));
-	out.println("\" >URL encoded </a>");
-	
+    out.print(response.encodeURL("SessionExample?dataname=foo&datavalue=bar"));
+    out.println("\" >URL encoded </a>");
+    
         out.println("</body>");
         out.println("</html>");
         

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/ExampleFilter.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/ExampleFilter.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/ExampleFilter.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/ExampleFilter.java Mon Mar  7 05:17:11 2011
@@ -91,19 +91,19 @@ public final class ExampleFilter impleme
      */
     public void doFilter(ServletRequest request, ServletResponse response,
                          FilterChain chain)
-	throws IOException, ServletException {
+    throws IOException, ServletException {
 
-	// Store ourselves as a request attribute (if requested)
-	if (attribute != null)
-	    request.setAttribute(attribute, this);
+    // Store ourselves as a request attribute (if requested)
+    if (attribute != null)
+        request.setAttribute(attribute, this);
 
-	// Time and log the subsequent processing
-	long startTime = System.currentTimeMillis();
+    // Time and log the subsequent processing
+    long startTime = System.currentTimeMillis();
         chain.doFilter(request, response);
-	long stopTime = System.currentTimeMillis();
-	filterConfig.getServletContext().log
-	    (this.toString() + ": " + (stopTime - startTime) +
-	     " milliseconds");
+    long stopTime = System.currentTimeMillis();
+    filterConfig.getServletContext().log
+        (this.toString() + ": " + (stopTime - startTime) +
+         " milliseconds");
 
     }
 
@@ -115,7 +115,7 @@ public final class ExampleFilter impleme
      */
     public void init(FilterConfig filterConfig) throws ServletException {
 
-	this.filterConfig = filterConfig;
+    this.filterConfig = filterConfig;
         this.attribute = filterConfig.getInitParameter("attribute");
 
     }
@@ -126,12 +126,12 @@ public final class ExampleFilter impleme
      */
     public String toString() {
 
-	if (filterConfig == null)
-	    return ("InvokerFilter()");
-	StringBuffer sb = new StringBuffer("InvokerFilter(");
-	sb.append(filterConfig);
-	sb.append(")");
-	return (sb.toString());
+    if (filterConfig == null)
+        return ("InvokerFilter()");
+    StringBuffer sb = new StringBuffer("InvokerFilter(");
+    sb.append(filterConfig);
+    sb.append(")");
+    return (sb.toString());
 
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/RequestDumperFilter.java Mon Mar  7 05:17:11 2011
@@ -85,86 +85,86 @@ public final class RequestDumperFilter i
      */
     public void doFilter(ServletRequest request, ServletResponse response,
                          FilterChain chain)
-	throws IOException, ServletException {
+    throws IOException, ServletException {
 
         if (filterConfig == null)
-	    return;
+        return;
 
-	// Render the generic servlet request properties
-	StringWriter sw = new StringWriter();
-	PrintWriter writer = new PrintWriter(sw);
-	writer.println("Request Received at " +
-		       (new Timestamp(System.currentTimeMillis())));
-	writer.println(" characterEncoding=" + request.getCharacterEncoding());
-	writer.println("     contentLength=" + request.getContentLength());
-	writer.println("       contentType=" + request.getContentType());
-	writer.println("            locale=" + request.getLocale());
-	writer.print("           locales=");
-	Enumeration locales = request.getLocales();
-	boolean first = true;
-	while (locales.hasMoreElements()) {
-	    Locale locale = (Locale) locales.nextElement();
-	    if (first)
-	        first = false;
-	    else
-	        writer.print(", ");
-	    writer.print(locale.toString());
-	}
-	writer.println();
-	Enumeration names = request.getParameterNames();
-	while (names.hasMoreElements()) {
-	    String name = (String) names.nextElement();
-	    writer.print("         parameter=" + name + "=");
-	    String values[] = request.getParameterValues(name);
-	    for (int i = 0; i < values.length; i++) {
-	        if (i > 0)
-		    writer.print(", ");
-		writer.print(values[i]);
-	    }
-	    writer.println();
-	}
-	writer.println("          protocol=" + request.getProtocol());
-	writer.println("        remoteAddr=" + request.getRemoteAddr());
-	writer.println("        remoteHost=" + request.getRemoteHost());
-	writer.println("            scheme=" + request.getScheme());
-	writer.println("        serverName=" + request.getServerName());
-	writer.println("        serverPort=" + request.getServerPort());
-	writer.println("          isSecure=" + request.isSecure());
-
-	// Render the HTTP servlet request properties
-	if (request instanceof HttpServletRequest) {
-	    writer.println("---------------------------------------------");
-	    HttpServletRequest hrequest = (HttpServletRequest) request;
-	    writer.println("       contextPath=" + hrequest.getContextPath());
-	    Cookie cookies[] = hrequest.getCookies();
+    // Render the generic servlet request properties
+    StringWriter sw = new StringWriter();
+    PrintWriter writer = new PrintWriter(sw);
+    writer.println("Request Received at " +
+               (new Timestamp(System.currentTimeMillis())));
+    writer.println(" characterEncoding=" + request.getCharacterEncoding());
+    writer.println("     contentLength=" + request.getContentLength());
+    writer.println("       contentType=" + request.getContentType());
+    writer.println("            locale=" + request.getLocale());
+    writer.print("           locales=");
+    Enumeration locales = request.getLocales();
+    boolean first = true;
+    while (locales.hasMoreElements()) {
+        Locale locale = (Locale) locales.nextElement();
+        if (first)
+            first = false;
+        else
+            writer.print(", ");
+        writer.print(locale.toString());
+    }
+    writer.println();
+    Enumeration names = request.getParameterNames();
+    while (names.hasMoreElements()) {
+        String name = (String) names.nextElement();
+        writer.print("         parameter=" + name + "=");
+        String values[] = request.getParameterValues(name);
+        for (int i = 0; i < values.length; i++) {
+            if (i > 0)
+            writer.print(", ");
+        writer.print(values[i]);
+        }
+        writer.println();
+    }
+    writer.println("          protocol=" + request.getProtocol());
+    writer.println("        remoteAddr=" + request.getRemoteAddr());
+    writer.println("        remoteHost=" + request.getRemoteHost());
+    writer.println("            scheme=" + request.getScheme());
+    writer.println("        serverName=" + request.getServerName());
+    writer.println("        serverPort=" + request.getServerPort());
+    writer.println("          isSecure=" + request.isSecure());
+
+    // Render the HTTP servlet request properties
+    if (request instanceof HttpServletRequest) {
+        writer.println("---------------------------------------------");
+        HttpServletRequest hrequest = (HttpServletRequest) request;
+        writer.println("       contextPath=" + hrequest.getContextPath());
+        Cookie cookies[] = hrequest.getCookies();
             if (cookies == null)
                 cookies = new Cookie[0];
-	    for (int i = 0; i < cookies.length; i++) {
-	        writer.println("            cookie=" + cookies[i].getName() +
-			       "=" + cookies[i].getValue());
-	    }
-	    names = hrequest.getHeaderNames();
-	    while (names.hasMoreElements()) {
-	        String name = (String) names.nextElement();
-		String value = hrequest.getHeader(name);
-	        writer.println("            header=" + name + "=" + value);
-	    }
-	    writer.println("            method=" + hrequest.getMethod());
-	    writer.println("          pathInfo=" + hrequest.getPathInfo());
-	    writer.println("       queryString=" + hrequest.getQueryString());
-	    writer.println("        remoteUser=" + hrequest.getRemoteUser());
-	    writer.println("requestedSessionId=" +
-			   hrequest.getRequestedSessionId());
-	    writer.println("        requestURI=" + hrequest.getRequestURI());
-	    writer.println("       servletPath=" + hrequest.getServletPath());
-	}
-	writer.println("=============================================");
-
-	// Log the resulting string
-	writer.flush();
-	filterConfig.getServletContext().log(sw.getBuffer().toString());
+        for (int i = 0; i < cookies.length; i++) {
+            writer.println("            cookie=" + cookies[i].getName() +
+                   "=" + cookies[i].getValue());
+        }
+        names = hrequest.getHeaderNames();
+        while (names.hasMoreElements()) {
+            String name = (String) names.nextElement();
+        String value = hrequest.getHeader(name);
+            writer.println("            header=" + name + "=" + value);
+        }
+        writer.println("            method=" + hrequest.getMethod());
+        writer.println("          pathInfo=" + hrequest.getPathInfo());
+        writer.println("       queryString=" + hrequest.getQueryString());
+        writer.println("        remoteUser=" + hrequest.getRemoteUser());
+        writer.println("requestedSessionId=" +
+               hrequest.getRequestedSessionId());
+        writer.println("        requestURI=" + hrequest.getRequestURI());
+        writer.println("       servletPath=" + hrequest.getServletPath());
+    }
+    writer.println("=============================================");
+
+    // Log the resulting string
+    writer.flush();
+    filterConfig.getServletContext().log(sw.getBuffer().toString());
 
-	// Pass control on to the next filter
+    // Pass control on to the next filter
         chain.doFilter(request, response);
 
     }
@@ -177,7 +177,7 @@ public final class RequestDumperFilter i
      */
     public void init(FilterConfig filterConfig) throws ServletException {
 
-	this.filterConfig = filterConfig;
+    this.filterConfig = filterConfig;
 
     }
 
@@ -187,12 +187,12 @@ public final class RequestDumperFilter i
      */
     public String toString() {
 
-	if (filterConfig == null)
-	    return ("RequestDumperFilter()");
-	StringBuffer sb = new StringBuffer("RequestDumperFilter(");
-	sb.append(filterConfig);
-	sb.append(")");
-	return (sb.toString());
+    if (filterConfig == null)
+        return ("RequestDumperFilter()");
+    StringBuffer sb = new StringBuffer("RequestDumperFilter(");
+    sb.append(filterConfig);
+    sb.append(")");
+    return (sb.toString());
 
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/filters/SetCharacterEncodingFilter.java Mon Mar  7 05:17:11 2011
@@ -110,7 +110,7 @@ public class SetCharacterEncodingFilter 
      */
     public void doFilter(ServletRequest request, ServletResponse response,
                          FilterChain chain)
-	throws IOException, ServletException {
+    throws IOException, ServletException {
 
         // Conditionally select and set the character encoding to be used
         if (ignore || (request.getCharacterEncoding() == null)) {
@@ -119,7 +119,7 @@ public class SetCharacterEncodingFilter 
                 request.setCharacterEncoding(encoding);
         }
 
-	// Pass control on to the next filter
+    // Pass control on to the next filter
         chain.doFilter(request, response);
 
     }
@@ -132,7 +132,7 @@ public class SetCharacterEncodingFilter 
      */
     public void init(FilterConfig filterConfig) throws ServletException {
 
-	this.filterConfig = filterConfig;
+    this.filterConfig = filterConfig;
         this.encoding = filterConfig.getInitParameter("encoding");
         String value = filterConfig.getInitParameter("ignore");
         if (value == null)

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/ContextListener.java Mon Mar  7 05:17:11 2011
@@ -58,8 +58,8 @@ public final class ContextListener
      */
     public void attributeAdded(ServletContextAttributeEvent event) {
 
-	log("attributeAdded('" + event.getName() + "', '" +
-	    event.getValue() + "')");
+    log("attributeAdded('" + event.getName() + "', '" +
+        event.getValue() + "')");
 
     }
 
@@ -71,8 +71,8 @@ public final class ContextListener
      */
     public void attributeRemoved(ServletContextAttributeEvent event) {
 
-	log("attributeRemoved('" + event.getName() + "', '" +
-	    event.getValue() + "')");
+    log("attributeRemoved('" + event.getName() + "', '" +
+        event.getValue() + "')");
 
     }
 
@@ -84,8 +84,8 @@ public final class ContextListener
      */
     public void attributeReplaced(ServletContextAttributeEvent event) {
 
-	log("attributeReplaced('" + event.getName() + "', '" +
-	    event.getValue() + "')");
+    log("attributeReplaced('" + event.getName() + "', '" +
+        event.getValue() + "')");
 
     }
 
@@ -97,8 +97,8 @@ public final class ContextListener
      */
     public void contextDestroyed(ServletContextEvent event) {
 
-	log("contextDestroyed()");
-	this.context = null;
+    log("contextDestroyed()");
+    this.context = null;
 
     }
 
@@ -110,8 +110,8 @@ public final class ContextListener
      */
     public void contextInitialized(ServletContextEvent event) {
 
-	this.context = event.getServletContext();
-	log("contextInitialized()");
+    this.context = event.getServletContext();
+    log("contextInitialized()");
 
     }
 
@@ -126,10 +126,10 @@ public final class ContextListener
      */
     private void log(String message) {
 
-	if (context != null)
-	    context.log("ContextListener: " + message);
-	else
-	    System.out.println("ContextListener: " + message);
+    if (context != null)
+        context.log("ContextListener: " + message);
+    else
+        System.out.println("ContextListener: " + message);
 
     }
 
@@ -143,12 +143,12 @@ public final class ContextListener
      */
     private void log(String message, Throwable throwable) {
 
-	if (context != null)
-	    context.log("ContextListener: " + message, throwable);
-	else {
-	    System.out.println("ContextListener: " + message);
-	    throwable.printStackTrace(System.out);
-	}
+    if (context != null)
+        context.log("ContextListener: " + message, throwable);
+    else {
+        System.out.println("ContextListener: " + message);
+        throwable.printStackTrace(System.out);
+    }
 
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java (original)
+++ geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/WEB-INF/classes/listeners/SessionListener.java Mon Mar  7 05:17:11 2011
@@ -39,7 +39,7 @@ import javax.servlet.http.HttpSessionLis
 
 public final class SessionListener
     implements ServletContextListener,
-	       HttpSessionAttributeListener, HttpSessionListener {
+           HttpSessionAttributeListener, HttpSessionListener {
 
 
     // ----------------------------------------------------- Instance Variables
@@ -61,8 +61,8 @@ public final class SessionListener
      */
     public void attributeAdded(HttpSessionBindingEvent event) {
 
-	log("attributeAdded('" + event.getSession().getId() + "', '" +
-	    event.getName() + "', '" + event.getValue() + "')");
+    log("attributeAdded('" + event.getSession().getId() + "', '" +
+        event.getName() + "', '" + event.getValue() + "')");
 
     }
 
@@ -74,8 +74,8 @@ public final class SessionListener
      */
     public void attributeRemoved(HttpSessionBindingEvent event) {
 
-	log("attributeRemoved('" + event.getSession().getId() + "', '" +
-	    event.getName() + "', '" + event.getValue() + "')");
+    log("attributeRemoved('" + event.getSession().getId() + "', '" +
+        event.getName() + "', '" + event.getValue() + "')");
 
     }
 
@@ -87,8 +87,8 @@ public final class SessionListener
      */
     public void attributeReplaced(HttpSessionBindingEvent event) {
 
-	log("attributeReplaced('" + event.getSession().getId() + "', '" +
-	    event.getName() + "', '" + event.getValue() + "')");
+    log("attributeReplaced('" + event.getSession().getId() + "', '" +
+        event.getName() + "', '" + event.getValue() + "')");
 
     }
 
@@ -100,8 +100,8 @@ public final class SessionListener
      */
     public void contextDestroyed(ServletContextEvent event) {
 
-	log("contextDestroyed()");
-	this.context = null;
+    log("contextDestroyed()");
+    this.context = null;
 
     }
 
@@ -113,8 +113,8 @@ public final class SessionListener
      */
     public void contextInitialized(ServletContextEvent event) {
 
-	this.context = event.getServletContext();
-	log("contextInitialized()");
+    this.context = event.getServletContext();
+    log("contextInitialized()");
 
     }
 
@@ -126,7 +126,7 @@ public final class SessionListener
      */
     public void sessionCreated(HttpSessionEvent event) {
 
-	log("sessionCreated('" + event.getSession().getId() + "')");
+    log("sessionCreated('" + event.getSession().getId() + "')");
 
     }
 
@@ -138,7 +138,7 @@ public final class SessionListener
      */
     public void sessionDestroyed(HttpSessionEvent event) {
 
-	log("sessionDestroyed('" + event.getSession().getId() + "')");
+    log("sessionDestroyed('" + event.getSession().getId() + "')");
 
     }
 
@@ -153,10 +153,10 @@ public final class SessionListener
      */
     private void log(String message) {
 
-	if (context != null)
-	    context.log("SessionListener: " + message);
-	else
-	    System.out.println("SessionListener: " + message);
+    if (context != null)
+        context.log("SessionListener: " + message);
+    else
+        System.out.println("SessionListener: " + message);
 
     }
 
@@ -170,12 +170,12 @@ public final class SessionListener
      */
     private void log(String message, Throwable throwable) {
 
-	if (context != null)
-	    context.log("SessionListener: " + message, throwable);
-	else {
-	    System.out.println("SessionListener: " + message);
-	    throwable.printStackTrace(System.out);
-	}
+    if (context != null)
+        context.log("SessionListener: " + message, throwable);
+    else {
+        System.out.println("SessionListener: " + message);
+        throwable.printStackTrace(System.out);
+    }
 
     }
 

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/images/code.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/images/code.gif?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/images/execute.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/images/execute.gif?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/images/return.gif
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/servlet-examples/servlet-examples-war/src/main/webapp/images/return.gif?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
Binary files - no diff available.

Modified: geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/resources/TimeReportDB.sql
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/resources/TimeReportDB.sql?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/resources/TimeReportDB.sql (original)
+++ geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/resources/TimeReportDB.sql Mon Mar  7 05:17:11 2011
@@ -16,15 +16,15 @@
 
 
 CREATE TABLE users(
-	userid VARCHAR(15) PRIMARY KEY,
-	password VARCHAR(15),
-	name VARCHAR(40)
+    userid VARCHAR(15) PRIMARY KEY,
+    password VARCHAR(15),
+    name VARCHAR(40)
 );
 
 CREATE TABLE usergroups(
-	userid VARCHAR(15),
-	groupname VARCHAR(20),
-	PRIMARY KEY (userid, groupname)
+    userid VARCHAR(15),
+    groupname VARCHAR(20),
+    PRIMARY KEY (userid, groupname)
 );
 
 INSERT INTO users VALUES('emp1', 'pass1', 'Employee 1');

Modified: geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/webapp/WEB-INF/web.xml?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/webapp/WEB-INF/web.xml (original)
+++ geronimo/samples/trunk/samples/javaee5/timereport/timereport-war/src/main/webapp/WEB-INF/web.xml Mon Mar  7 05:17:11 2011
@@ -20,7 +20,7 @@
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
-	 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
          version="2.4">
 
     <welcome-file-list>

Modified: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml (original)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/pom.xml Mon Mar  7 05:17:11 2011
@@ -1,86 +1,86 @@
 <?xml version="1.0" encoding="UTF-8"?>
-	<!--
-		Licensed to the Apache Software Foundation (ASF) under one or more
-		contributor license agreements. See the NOTICE file distributed with
-		this work for additional information regarding copyright ownership.
-		The ASF licenses this file to you under the Apache License, Version
-		2.0 (the "License"); you may not use this file except in compliance
-		with the License. You may obtain a copy of the License at
-
-		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
-		applicable law or agreed to in writing, software distributed under the
-		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-		CONDITIONS OF ANY KIND, either express or implied. See the License for
-		the specific language governing permissions and limitations under the
-		License.
-	-->
-
-	<!--
-		$Rev$ $Date$
-	-->
+    <!--
+        Licensed to the Apache Software Foundation (ASF) under one or more
+        contributor license agreements. See the NOTICE file distributed with
+        this work for additional information regarding copyright ownership.
+        The ASF licenses this file to you under the Apache License, Version
+        2.0 (the "License"); you may not use this file except in compliance
+        with the License. You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+        applicable law or agreed to in writing, software distributed under the
+        License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+        CONDITIONS OF ANY KIND, either express or implied. See the License for
+        the specific language governing permissions and limitations under the
+        License.
+    -->
+
+    <!--
+        $Rev$ $Date$
+    -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
-	<modelVersion>4.0.0</modelVersion>
+    <modelVersion>4.0.0</modelVersion>
 
-	<parent>
-		<groupId>org.apache.geronimo.samples</groupId>
-		<artifactId>converter-javaee6</artifactId>
-		<version>3.0-SNAPSHOT</version>
-	</parent>
-
-	<artifactId>converter-javaee6-war</artifactId>
-	<name>Geronimo Samples :: converter-javaee6 :: WAR</name>
-	<packaging>war</packaging>
-
-	<description>Geronimo Samples. WEB Module</description>
-
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.myfaces.core</groupId>
-			<artifactId>myfaces-bundle</artifactId>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.geronimo.specs</groupId>
-			<artifactId>geronimo-jpa_2.0_spec</artifactId>
-			<scope>provided</scope>
-		</dependency>
-	</dependencies>
-
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-antrun-plugin</artifactId>
-				<executions>
-					<execution>
-						<phase>process-resources</phase>
-						<id>copy-parent-site</id>
-						<goals>
-							<goal>run</goal>
-						</goals>
-						<configuration>
-							<tasks>
-								<echo>Copying site directory from parent</echo>
-								<copy
-									todir="${project.build.directory}/${pom.artifactId}-3.0-SNAPSHOT"
-									failonerror="false" overwrite="true">
-									<fileset dir="${pom.basedir}/../docs" />
-								</copy>
-							</tasks>
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-war-plugin</artifactId>
-				<configuration>
-					<archiveClasses>false</archiveClasses>                    
-				</configuration>
-			</plugin>
-		</plugins>
-	</build>	
+    <parent>
+        <groupId>org.apache.geronimo.samples</groupId>
+        <artifactId>converter-javaee6</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>converter-javaee6-war</artifactId>
+    <name>Geronimo Samples :: converter-javaee6 :: WAR</name>
+    <packaging>war</packaging>
+
+    <description>Geronimo Samples. WEB Module</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.myfaces.core</groupId>
+            <artifactId>myfaces-bundle</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jpa_2.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>process-resources</phase>
+                        <id>copy-parent-site</id>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <echo>Copying site directory from parent</echo>
+                                <copy
+                                    todir="${project.build.directory}/${pom.artifactId}-3.0-SNAPSHOT"
+                                    failonerror="false" overwrite="true">
+                                    <fileset dir="${pom.basedir}/../docs" />
+                                </copy>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <archiveClasses>false</archiveClasses>                    
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>    
 </project>

Modified: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java (original)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java Mon Mar  7 05:17:11 2011
@@ -17,23 +17,23 @@
 package org.apache.geronimo.samples.javaee6.converter;
 
 public class ConvertedValue {
-	private String name;
-	private double actualValue;
+    private String name;
+    private double actualValue;
 
-	public double getActualValue() {
-		return actualValue;
-	}
-
-	public void setActualVaule(double actualValue) {
-		this.actualValue = actualValue;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
+    public double getActualValue() {
+        return actualValue;
+    }
+
+    public void setActualVaule(double actualValue) {
+        this.actualValue = actualValue;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
 
 }

Modified: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java (original)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java Mon Mar  7 05:17:11 2011
@@ -28,77 +28,77 @@ import javax.faces.event.ActionEvent;
 @ManagedBean(name = "ConverterBean")
 @RequestScoped
 public class ConverterBean {
-	
-	private String inf = "Hide the rate table";
-	private String msg = "Hello@ConverterBean";
-	private String value = "1.0";
-	private List<ConvertedValue> convertedList;
-	private List<Currency> currencyList;
-	private Boolean render = false;
-
-	public String getMsg() {
-		return msg;
-	}
-
-	public Boolean getRender() {
-		return render;
-	}
-
-	@SuppressWarnings( { "UnusedDeclaration" })
-	public void toggle(ActionEvent ae) {
-		render = !render;
-	}
-
-	public void setMsg(String msg) {
-		this.msg = msg;
-	}
-
-	public List getConvertedList() {
-		return this.convertedList;
-	}
-
-	private void setConvertedList() {
-		this.convertedList = new ArrayList();
-
-		for (Currency currency : currencyList) {
-			ConvertedValue cv = new ConvertedValue();
-			cv.setName("<" + currency.getName() + ">");
-			cv.setActualVaule(Double.parseDouble(value) / currency.getRate());
-			this.convertedList.add(cv);
-		}
-	}
-
-	public List getCurrencyList() {
-		return currencyList;
-	}
-
-	public void setCurrencyList(List currencyList) {
-		this.currencyList = currencyList;
-		setConvertedList();
-	}
-
-	/** Creates a new instance of ConverterBean */
-	public ConverterBean() {
-		this.currencyList = new ArrayList();
-		Currency c = new Currency("USD", 6.8269);
-		currencyList.add(c);
-		c = new Currency("HKD", 0.87887);
-		currencyList.add(c);
-		c = new Currency("JPY", 0.00754);
-		currencyList.add(c);
-		c = new Currency("EUR", 9.6734);
-		currencyList.add(c);
-		c = new Currency("GBP", 11.1009);
-		currencyList.add(c);
-		setConvertedList();		
-	}
-
-	public String getValue() {
-		return value;
-	}
-
-	public void setValue(String value) {
-		this.value = value;
-		setConvertedList();
-	}
+    
+    private String inf = "Hide the rate table";
+    private String msg = "Hello@ConverterBean";
+    private String value = "1.0";
+    private List<ConvertedValue> convertedList;
+    private List<Currency> currencyList;
+    private Boolean render = false;
+
+    public String getMsg() {
+        return msg;
+    }
+
+    public Boolean getRender() {
+        return render;
+    }
+
+    @SuppressWarnings( { "UnusedDeclaration" })
+    public void toggle(ActionEvent ae) {
+        render = !render;
+    }
+
+    public void setMsg(String msg) {
+        this.msg = msg;
+    }
+
+    public List getConvertedList() {
+        return this.convertedList;
+    }
+
+    private void setConvertedList() {
+        this.convertedList = new ArrayList();
+
+        for (Currency currency : currencyList) {
+            ConvertedValue cv = new ConvertedValue();
+            cv.setName("<" + currency.getName() + ">");
+            cv.setActualVaule(Double.parseDouble(value) / currency.getRate());
+            this.convertedList.add(cv);
+        }
+    }
+
+    public List getCurrencyList() {
+        return currencyList;
+    }
+
+    public void setCurrencyList(List currencyList) {
+        this.currencyList = currencyList;
+        setConvertedList();
+    }
+
+    /** Creates a new instance of ConverterBean */
+    public ConverterBean() {
+        this.currencyList = new ArrayList();
+        Currency c = new Currency("USD", 6.8269);
+        currencyList.add(c);
+        c = new Currency("HKD", 0.87887);
+        currencyList.add(c);
+        c = new Currency("JPY", 0.00754);
+        currencyList.add(c);
+        c = new Currency("EUR", 9.6734);
+        currencyList.add(c);
+        c = new Currency("GBP", 11.1009);
+        currencyList.add(c);
+        setConvertedList();        
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public void setValue(String value) {
+        this.value = value;
+        setConvertedList();
+    }
 }
\ No newline at end of file

Modified: geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java?rev=1078686&r1=1078685&r2=1078686&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java (original)
+++ geronimo/samples/trunk/samples/javaee6/converter-javaee6/converter-javaee6-war/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java Mon Mar  7 05:17:11 2011
@@ -17,37 +17,37 @@
 package org.apache.geronimo.samples.javaee6.converter;
 
 public class Currency {
-	private String name;
-	private double rate;
-	private double actualVaule;
-
-	public double getActualVaule() {
-		return actualVaule;
-	}
-
-	public void setActualVaule(double actualVaule) {
-		this.actualVaule = actualVaule;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public Currency(String name, double rate) {
-		this.name = name;
-		this.rate = rate;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public double getRate() {
-		return rate;
-	}
-
-	public void setRate(double rate) {
-		this.rate = rate;
-	}
+    private String name;
+    private double rate;
+    private double actualVaule;
+
+    public double getActualVaule() {
+        return actualVaule;
+    }
+
+    public void setActualVaule(double actualVaule) {
+        this.actualVaule = actualVaule;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public Currency(String name, double rate) {
+        this.name = name;
+        this.rate = rate;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public double getRate() {
+        return rate;
+    }
+
+    public void setRate(double rate) {
+        this.rate = rate;
+    }
 
 }



Mime
View raw message