geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akulshresh...@apache.org
Subject svn commit: r503425 - /geronimo/server/trunk/modules/geronimo-tomcat6/src/test/java/org/apache/geronimo/tomcat/StatTest.java
Date Sun, 04 Feb 2007 15:19:32 GMT
Author: akulshreshtha
Date: Sun Feb  4 07:19:32 2007
New Revision: 503425

URL: http://svn.apache.org/viewvc?view=rev&rev=503425
Log:
GERONIMO-1293 fixed license, removed unused imports

Modified:
    geronimo/server/trunk/modules/geronimo-tomcat6/src/test/java/org/apache/geronimo/tomcat/StatTest.java

Modified: geronimo/server/trunk/modules/geronimo-tomcat6/src/test/java/org/apache/geronimo/tomcat/StatTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-tomcat6/src/test/java/org/apache/geronimo/tomcat/StatTest.java?view=diff&rev=503425&r1=503424&r2=503425
==============================================================================
--- geronimo/server/trunk/modules/geronimo-tomcat6/src/test/java/org/apache/geronimo/tomcat/StatTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-tomcat6/src/test/java/org/apache/geronimo/tomcat/StatTest.java
Sun Feb  4 07:19:32 2007
@@ -1,10 +1,10 @@
 /**
- *
- * Copyright 2003-2004 The Apache Software Foundation
- *
- *  Licensed 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
+ *  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
  *
@@ -23,15 +23,8 @@
 import java.net.URL;
 
 import javax.management.ObjectName;
-import javax.management.j2ee.statistics.BoundedRangeStatistic;
-import javax.management.j2ee.statistics.CountStatistic;
-import javax.management.j2ee.statistics.RangeStatistic;
 import javax.management.j2ee.statistics.Statistic;
 import javax.management.j2ee.statistics.Stats;
-import javax.management.j2ee.statistics.TimeStatistic;
-
-import org.apache.geronimo.management.stats.WebServletStatsImpl;
-import org.apache.geronimo.tomcat.TomcatWebAppContext;
 
 /**
  * @version $Revision$ $Date$
@@ -64,7 +57,7 @@
                 aStts = stats.getStatistic(sttsNames[i]);
                 assertTrue("startTime was not set", aStts.getStartTime() != 0);
                 assertTrue("lastSampleTime was not set", aStts.getLastSampleTime() != 0);
-                System.out.println(aStts);
+                //System.out.println(aStts);
             }
         }
         connection.disconnect();



Mime
View raw message