tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 国炳 陈 <gzlongzhij...@yahoo.com.cn>
Subject Re: cvs commit: jakarta-tomcat-connectors/jni/examples/org/apache/tomcat/jni Echo.java
Date Fri, 15 Apr 2005 15:44:49 GMT
???????

jfclere@apache.org wrote:jfclere 2005/04/15 07:24:53

Modified: jni/examples/org/apache/tomcat/jni Echo.java
Log:
Quick hack to get it compiled.

Revision Changes Path
1.3 +6 -4 jakarta-tomcat-connectors/jni/examples/org/apache/tomcat/jni/Echo.java

Index: Echo.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jni/examples/org/apache/tomcat/jni/Echo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Echo.java 14 Apr 2005 06:46:28 -0000 1.2
+++ Echo.java 15 Apr 2005 14:24:53 -0000 1.3
@@ -51,8 +51,8 @@
props.load(is);
is.close();
echoAddr = props.getProperty("echo.ip", "127.0.0.1");
- echoPort = Integer.decode(props.getProperty("echo.port", "23"));
- echoNmax = Integer.decode(props.getProperty("echo.max", "1"));
+ echoPort = Integer.decode(props.getProperty("echo.port", "23")).intValue();
+ echoNmax = Integer.decode(props.getProperty("echo.max", "1")).intValue();
}
catch (Throwable t) {
; // Nothing
@@ -159,15 +159,17 @@
worker.start();
}
}
+ /* XXX: JFC quick hack
catch(Error err ) {
if (Status.APR_STATUS_IS_TIMEUP(err.getError())) {
- /* TODO: deal with timeout */
+ /0 TODO: deal with timeout 0/
}
else {
err.printStackTrace();
break;
}
}
+ */
catch( Exception ex ) {
ex.printStackTrace();
break;




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org




祝福你开心生活每一天!
\\\|///
\\ - - //
( @ @ )
┏━━━━ ━━oOOo- (_)-oOOo━━
┃姓名:gzlongzhijian 
┃QQ(OICQ) 40831127 (请大家Q我) 
┃信箱:gzlongzhijian@yahoo.com.cn 
┃主页:http://www.gzlzj.com 
┃广州市石牌西路西华大街二巷二号401 
┃邮编:510630 电话:020-33629058 
┃ 
┃茫茫人海,相识你是我的福份; 
┃ 
┃岁月如梭,送上我口里喊出的祝福 
┃ Oooo 
┗━━━━━━━ oooO━ ( )━━
( ) ) /
\ ( (_/
\_)



---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message