Update of /cvsroot/nice/Nice/web
In directory sc8-pr-cvs1:/tmp/cvs-serv10679/web
Modified Files:
manual.xml
Log Message:
1. Removed all mention of functions.
2. Converted to new method definition syntax (no more foo@bar).
3. Added sections for array literals, string literals (including multi-line, and concatentation by juxtaposition).
Index: manual.xml
===================================================================
RCS file: /cvsroot/nice/Nice/web/manual.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** manual.xml 24 Jun 2003 09:06:57 -0000 1.27
--- manual.xml 17 Dec 2003 06:50:40 -0000 1.28
***************
*** 58,66 ****
Nice detects more errors during compilation than existing
object-oriented languages (null pointer accesses,
! casts exceptions).
This means that programs written in Nice never throw the infamous
<literal>NullPointerException</literal> nor
<literal>ClassCastException</literal>.
! This aspect is developed in more details in
<ulink url="http://nice.sf.net/safety.html">this article</ulink>.
</para>
--- 58,66 ----
[...970 lines suppressed...]
//We like to log requests, too
class javax.servlet.http.HttpServletRequest implements LogEntry;
! toLogString(r@HttpServletRequest) = "Request from: " + r.getRemoteHost();
! severity(r@HttpServletRequest) = INFO;
]]>
--- 1658,1668 ----
}
! severity(Throwable t) = ERROR;
//We like to log requests, too
class javax.servlet.http.HttpServletRequest implements LogEntry;
! toLogString(HttpServletRequest r) = "Request from: " + r.getRemoteHost();
! severity(HttpServletRequest r) = INFO;
]]>
|