You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by va...@apache.org on 2008/12/03 13:28:43 UTC

svn commit: r722867 - /geronimo/plugins/tuscany/trunk/samples/helloworld-listener/src/main/java/sample/HelloworldServletContextAttributeListener.java

Author: vamsic007
Date: Wed Dec  3 04:28:43 2008
New Revision: 722867

URL: http://svn.apache.org/viewvc?rev=722867&view=rev
Log:
Missed the formatting

Modified:
    geronimo/plugins/tuscany/trunk/samples/helloworld-listener/src/main/java/sample/HelloworldServletContextAttributeListener.java

Modified: geronimo/plugins/tuscany/trunk/samples/helloworld-listener/src/main/java/sample/HelloworldServletContextAttributeListener.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/samples/helloworld-listener/src/main/java/sample/HelloworldServletContextAttributeListener.java?rev=722867&r1=722866&r2=722867&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/samples/helloworld-listener/src/main/java/sample/HelloworldServletContextAttributeListener.java (original)
+++ geronimo/plugins/tuscany/trunk/samples/helloworld-listener/src/main/java/sample/HelloworldServletContextAttributeListener.java Wed Dec  3 04:28:43 2008
@@ -102,18 +102,18 @@
         componentContext1 = ctx;
     }
 
-	public void attributeAdded(ServletContextAttributeEvent event) {
-		System.out.println("attributeAdded: " + event.getName());
-		if(event.getName().equals(HelloworldServletContextListener.HELLO_TXT)) {
-    		event.getServletContext().setAttribute(event.getName(), event.getValue()+prepareMessage("Chinnipandu"));
-		}
-	}
+    public void attributeAdded(ServletContextAttributeEvent event) {
+        System.out.println("attributeAdded: " + event.getName());
+        if(event.getName().equals(HelloworldServletContextListener.HELLO_TXT)) {
+            event.getServletContext().setAttribute(event.getName(), event.getValue()+prepareMessage("Chinnipandu"));
+        }
+    }
 
-	public void attributeRemoved(ServletContextAttributeEvent event) {
-	}
+    public void attributeRemoved(ServletContextAttributeEvent event) {
+    }
 
-	public void attributeReplaced(ServletContextAttributeEvent event) {
-	}
+    public void attributeReplaced(ServletContextAttributeEvent event) {
+    }
 
     private String prepareMessage(String name) {
         StringBuffer sb = new StringBuffer();