svn commit: r15986 - trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-11-08 08:17:33-0800
New Revision: 15986

Modified:
   trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java

Log:
Fix style warning

Modified: trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java?view=diff&rev=15986&p1=trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java&p2=trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java&r1=15985&r2=15986
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/persistence/UmlFilePersister.java	2008-11-08 08:17:33-0800
@@ -709,8 +709,9 @@
 
         @Override
         public void write(byte[] b, int off, int len) throws IOException {
-            if ((off | len | (b.length - (len + off)) | (off + len)) < 0)
+            if ((off | len | (b.length - (len + off)) | (off + len)) < 0) {
                 throw new IndexOutOfBoundsException();
+            }
 
             if (headerProcessed) {
                 out.write(b, off, len);
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.