svn commit: r14297 - trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-04-06 17:30:53-0700
New Revision: 14297

Modified:
   trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java

Log:
Suppress deprecation warning

Modified: trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java?view=diff&rev=14297&p1=trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java&p2=trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java&r1=14296&r2=14297
==============================================================================
--- trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java	(original)
+++ trunk/src/app/src/org/argouml/profile/ReaderModelLoader.java	2008-04-06 17:30:53-0700
@@ -37,7 +37,7 @@
  * TODO: this doesn't need a full ProfileReference since it uses the 
  * reader handed in the constructor. It doesn't make much sense to make 
  * its callers init the path to some name which it doesn't need... 
- * 
+ *
  * @author Luis Sergio Oliveira (euluis)
  */
 public class ReaderModelLoader implements ProfileModelLoader {
@@ -56,10 +56,13 @@
         this.reader = theReader;
     }
 
-    /* @see ProfileModelLoader#loadModel(String)
+    /* 
+     * @see ProfileModelLoader#loadModel(String)
      */
+    @SuppressWarnings("deprecation")
     @Deprecated
-    public Collection loadModel(String path) throws ProfileException {
+    @Override
+    public Collection loadModel(final String path) throws ProfileException {
         if (reader != null) {
             try {
                 XmiReader xmiReader = Model.getXmiReader();
@@ -76,8 +79,10 @@
         throw new ProfileException("Profile not found!");
     }
 
-    /* @see ProfileModelLoader#loadModel(ProfileReference)
+    /* 
+     * @see ProfileModelLoader#loadModel(ProfileReference)
      */
+    @Override
     public Collection loadModel(ProfileReference reference) 
         throws ProfileException {
         if (reader != null) {
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.