geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r722867 - /geronimo/plugins/tuscany/trunk/samples/helloworld-listener/src/main/java/sample/HelloworldServletContextAttributeListener.java
Date Wed, 03 Dec 2008 12:28:43 GMT
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();



Mime
View raw message