svn commit: r17589 - trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java
Luis Sergio Oliveira <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: euluis
Date: 2009-12-01 15:48:31-0800
New Revision: 17589
Modified:
trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java
Log:
removing usage of deprecated method
Modified: trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java?view=diff&pathrev=17589&r1=17588&r2=17589
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java (original)
+++ trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java 2009-12-01 15:48:31-0800
@@ -1,5 +1,5 @@
// $Id$
-// Copyright (c) 2008 The Regents of the University of California. All
+// Copyright (c) 2008-2009 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
@@ -178,7 +178,8 @@
// Read it back in to a new empty project
project = ProjectManager.getManager().makeEmptyProject();
- persister.load(project, new InputSource(file.toURL().toExternalForm()));
+ persister.load(project,
+ new InputSource(file.toURI().toURL().toExternalForm()));
// Make sure we got what we started with
assertEquals(startingProfiles,
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2426148
To unsubscribe from this discussion, e-mail: [[email protected]].