svn commit: r13381 - branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: maurelio1234
Date: 2007-08-16 16:41:52-0700
New Revision: 13381

Modified:
   branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/ProjectSettingsTabProfile.java
   branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/SettingsTabProfile.java

Log:
solving bug

Modified: branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/ProjectSettingsTabProfile.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/ProjectSettingsTabProfile.java?view=diff&rev=13381&p1=branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/ProjectSettingsTabProfile.java&p2=branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/ProjectSettingsTabProfile.java&r1=13380&r2=13381
==============================================================================
--- branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/ProjectSettingsTabProfile.java	(original)
+++ branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/ProjectSettingsTabProfile.java	2007-08-16 16:41:52-0700
@@ -425,7 +425,7 @@
         

         for (Profile profile : pc.getProfiles()) {

             if (!usedItens.contains(profile)) {

-                toRemove.remove(profile);

+                toRemove.add(profile);

             }

         }

 


Modified: branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/SettingsTabProfile.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/SettingsTabProfile.java?view=diff&rev=13381&p1=branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/SettingsTabProfile.java&p2=branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/SettingsTabProfile.java&r1=13380&r2=13381
==============================================================================
--- branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/SettingsTabProfile.java	(original)
+++ branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/ui/SettingsTabProfile.java	2007-08-16 16:41:52-0700
@@ -451,7 +451,7 @@
         

         for (Profile profile : ProfileManagerImpl.getInstance().getDefaultProfiles()) {

             if (!usedItens.contains(profile)) {

-                toRemove.remove(profile);

+                toRemove.add(profile);

             }

         }

 

@@ -476,7 +476,7 @@
 

         for (String dirEntry : ProfileManagerImpl.getInstance().getSearchPathDirectories()) {

             if (!usedItensDir.contains(dirEntry)) {

-                toRemoveDir.remove(dirEntry);

+                toRemoveDir.add(dirEntry);

             }

         }
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.