geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akulshresh...@apache.org
Subject svn commit: r465320 - /geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
Date Wed, 18 Oct 2006 18:05:11 GMT
Author: akulshreshtha
Date: Wed Oct 18 11:05:10 2006
New Revision: 465320

URL: http://svn.apache.org/viewvc?view=rev&rev=465320
Log:
GERONIMO-2434 Fixed temporarily, see GERONIMO 2500

Modified:
    geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java

Modified: geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java?view=diff&rev=465320&r1=465319&r2=465320
==============================================================================
--- geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
(original)
+++ geronimo/server/trunk/modules/geronimo-tomcat/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java
Wed Oct 18 11:05:10 2006
@@ -550,7 +550,7 @@
 
     public int getThreadPriority() {
         Object value = connector.getAttribute("threadPriority");
-        return Integer.parseInt(value.toString());
+        return value == null ? 5 :Integer.parseInt(value.toString());
     }
 
     public void setServer(String server) {



Mime
View raw message