Author: linus
Date: 2008-07-18 23:42:42-0700
New Revision: 15301
Modified:
trunk/documentation/cookbook/standard.xml
Log:
Always use braces in all if, while, and for statements.
Modified: trunk/documentation/cookbook/standard.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/cookbook/standard.xml?view=diff&rev=15301&p1=trunk/documentation/cookbook/standard.xml&p2=trunk/documentation/cookbook/standard.xml&r1=15300&r2=15301
==============================================================================
--- trunk/documentation/cookbook/standard.xml (original)
+++ trunk/documentation/cookbook/standard.xml 2008-07-18 23:42:42-0700
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $Id$ -->
<!--
-// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Copyright (c) 1996-2008 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, provided that the above copyright notice
@@ -54,7 +54,7 @@
Like this:
<programlisting>
// $Id$
-// Copyright (c) 2007 The Regents of the University of California. All
+// Copyright (c) 2008 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, provided that the above copyright notice
@@ -190,6 +190,12 @@
<listitem>
<para>
+Always use braces i.e. for all if/while/for definitions.
+</para>
+ </listitem>
+
+ <listitem>
+ <para>
Use deprecation when removing public and protected
classes,
methods and
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.