svn commit: r14085 - trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2008-02-07 00:39:57-0800
New Revision: 14085
Modified:
trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java
Log:
Added comment.
Modified: trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java?view=diff&rev=14085&p1=trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java&p2=trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java&r1=14084&r2=14085
==============================================================================
--- trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java (original)
+++ trunk/src_new/org/argouml/persistence/OldZargoFilePersister.java 2008-02-07 00:39:57-0800
@@ -1,5 +1,5 @@
// $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
@@ -161,6 +161,7 @@
String name = projectMember.getZipName();
String originalName = name;
while (names.contains(name)) {
+ /* Issue 4806 explains why we need this! */
name = ++counter + originalName;
}
names.add(name);