svn commit: r15305 - branches/gsoc2008/work_midterm_maurelio1234: src/org/argouml/moduleloader src/org/argouml/profile src/org/argouml/profile/internal src/org/argouml/profile/internal/ocl src/org/argouml/profile/internal/ocl/uml14 src/org/argouml/profile/internal/ui tests/org/argouml/profile tests/org/argouml/profile/internal tests/org/argouml/profile/internal/ocl

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: maurelio1234
Date: 2008-07-19 03:56:16-0700
New Revision: 15305

Modified:
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/moduleloader/ModuleLoader2.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/Profile.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/ProfileReference.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/JavaFormatingStrategy.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ProfileMeta.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CompositeModelInterpreter.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/ContextApplicable.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CrOCL.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateExpression.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateInvariant.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/InvalidOclException.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/OclInterpreter.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/Bag.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/CollectionsModelInterpreter.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/HashBag.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/ModelAccessModelInterpreter.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclAPIModelInterpreter.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclType.java
   branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ui/PropPanelCritic.java
   branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/TestProfileMother.java
   branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/TestProfileJava.java
   branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL.java
   branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL2.java
   branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestOclInterpreter.java

Log:
fixing style

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/moduleloader/ModuleLoader2.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/moduleloader/ModuleLoader2.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/moduleloader/ModuleLoader2.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/moduleloader/ModuleLoader2.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/moduleloader/ModuleLoader2.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/moduleloader/ModuleLoader2.java	2008-07-19 03:56:16-0700
@@ -52,7 +52,6 @@
 import org.argouml.application.api.AbstractArgoJPanel;
 import org.argouml.application.api.Argo;
 import org.argouml.i18n.Translator;
-import org.argouml.profile.Profile;
 import org.argouml.profile.ProfileException;
 import org.argouml.profile.ProfileFacade;
 import org.argouml.profile.UserDefinedProfile;
@@ -549,7 +548,7 @@
                         // TODO: Should we be delegating to a different
                         // classloader than the default here? - - tfm
                         ClassLoader classloader = new URLClassLoader(
-                                new URL[] { file.toURI().toURL(), });
+                                new URL[] {file.toURI().toURL()} );
                         try {
                             processJarFile(classloader, file);
                         } catch (ClassNotFoundException e) {

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/Profile.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/Profile.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/Profile.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/Profile.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/Profile.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/Profile.java	2008-07-19 03:56:16-0700
@@ -41,7 +41,10 @@
 
     private Set<String> dependencies = new HashSet<String>();
 
-    protected Set<CrUML> critics = new HashSet<CrUML>();
+    /**
+     * The critics provided by this profile
+     */
+    private Set<CrUML> critics = new HashSet<CrUML>();
 
     /**
      * Add a dependency on the given profile from this profile.
@@ -57,8 +60,7 @@
     /**
      * Add a dependency on the given profile from this profile.
      * 
-     * @param p the profile identifier
-     * @param profileIdentifier
+     * @param profileIdentifier the profile identifier
      */
     protected void addProfileDependency(String profileIdentifier) {
         dependencies.add(profileIdentifier);
@@ -148,4 +150,11 @@
     public String getProfileIdentifier() {
         return getDisplayName();
     }
+
+    /**
+     * @param critics The critics to set.
+     */
+    protected void setCritics(Set<CrUML> critics) {
+        this.critics = critics;
+    }
 }

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/ProfileReference.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/ProfileReference.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/ProfileReference.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/ProfileReference.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/ProfileReference.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/ProfileReference.java	2008-07-19 03:56:16-0700
@@ -49,7 +49,8 @@
     public ProfileReference(String thePath, URL publicReference) {
         File file = new File(thePath);
         File fileFromPublicReference = new File(publicReference.getPath());
-        assert file.getName().equals(fileFromPublicReference.getName()) : "File name in path and in publicReference are different.";
+        assert file.getName().equals(fileFromPublicReference.getName()) 
+                    : "File name in path and in publicReference are different.";
         path = thePath;
         url = publicReference;
     }

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java	2008-07-19 03:56:16-0700
@@ -91,13 +91,13 @@
     }
 
     private class FigNodeDescriptor {
-        String stereotype;
+        private String stereotype;
 
-        Image img;
+        private Image img;
 
-        String src;
+        private String src;
 
-        int length;
+        private int length;
 
         /**
          * @return if this descriptor ir valid
@@ -133,7 +133,7 @@
      * A constructor that reads a file from an URL
      * 
      * @param url the URL
-     * @throws ProfileException
+     * @throws ProfileException if the profile can't be read or is not valid
      */
     public UserDefinedProfile(URL url) throws ProfileException {
         LOG.info("load " + url);
@@ -148,17 +148,17 @@
     /**
      * A constructor that reads a file from an URL associated with some profiles
      * 
-     * @param displayName the display name of the profile
+     * @param dn the display name of the profile
      * @param url the URL of the profile mode
      * @param critics the Critics defined by this profile
      * @param dependencies the dependencies of this profile
      * @throws ProfileException if the model cannot be loaded
      */
-    public UserDefinedProfile(String displayName, URL url, Set<CrUML> critics,
+    public UserDefinedProfile(String dn, URL url, Set<CrUML> critics,
             Set<String> dependencies) throws ProfileException {
         LOG.info("load " + url);
 
-        this.displayName = displayName;
+        this.displayName = dn;
         if (url != null) {
             ProfileReference reference = null;
             reference = new UserProfileReference(url.getPath(), url);
@@ -167,7 +167,7 @@
             profilePackages = new ArrayList(0);
         }
 
-        this.critics = critics;
+        this.setCritics(critics);
 
         for (String profileID : dependencies) {
             addProfileDependency(profileID);
@@ -246,10 +246,13 @@
 
         // load critiques
         Vector<CrUML> allCritiques = getAllCritiquesInModel();
-
+        Set<CrUML> myCritics = this.getCritics(); 
+        
         for (CrUML critique : allCritiques) {
-            this.critics.add(critique);
+            myCritics.add(critique);
         }
+        
+        this.setCritics(myCritics);
     }
 
     private CrUML generateCriticFromComment(Object critique) {

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/JavaFormatingStrategy.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/JavaFormatingStrategy.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/JavaFormatingStrategy.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/JavaFormatingStrategy.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/JavaFormatingStrategy.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/JavaFormatingStrategy.java	2008-07-19 03:56:16-0700
@@ -32,7 +32,7 @@
 /**
  * The Formating Strategy based on Java naming conventions.
  * 
- * @author Marcos Aur�lio
+ * @author maurelio1234
  */
 public class JavaFormatingStrategy implements FormatingStrategy {
 

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ProfileMeta.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ProfileMeta.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ProfileMeta.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ProfileMeta.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ProfileMeta.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ProfileMeta.java	2008-07-19 03:56:16-0700
@@ -51,7 +51,7 @@
     /**
      * Creates a new instance of this profile
      * 
-     * @throws ProfileException
+     * @throws ProfileException if something goes wrong
      */
     @SuppressWarnings("unchecked")
     public ProfileMeta() throws ProfileException {

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CompositeModelInterpreter.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CompositeModelInterpreter.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CompositeModelInterpreter.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CompositeModelInterpreter.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CompositeModelInterpreter.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CompositeModelInterpreter.java	2008-07-19 03:56:16-0700
@@ -40,7 +40,7 @@
     /**
      * Adds a ModelInterpreter to this set
      * 
-     * @param mi
+     * @param mi the model interpreter
      */
     public void addModelInterpreter(ModelInterpreter mi) {
         set.add(mi);

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/ContextApplicable.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/ContextApplicable.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/ContextApplicable.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/ContextApplicable.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/ContextApplicable.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/ContextApplicable.java	2008-07-19 03:56:16-0700
@@ -53,12 +53,12 @@
     private Object modelElement;
 
     /**
-     * Constructos
+     * Constructors
      * 
-     * @param modelElement the element
+     * @param element the model element
      */
-    public ContextApplicable(Object modelElement) {
-        this.modelElement = modelElement;
+    public ContextApplicable(Object element) {
+        this.modelElement = element;
     }
 
     /**

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CrOCL.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CrOCL.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CrOCL.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CrOCL.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CrOCL.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/CrOCL.java	2008-07-19 03:56:16-0700
@@ -55,10 +55,10 @@
      * @param ocl ocl expression
      * @param headline headline
      * @param description description
-     * @param moreInfoURL
-     * @param knowledgeTypes
-     * @param supportedDecisions
-     * @param priority
+     * @param moreInfoURL the info url
+     * @param knowledgeTypes the knowledge types
+     * @param supportedDecisions the decisions
+     * @param priority the priority
      * @throws InvalidOclException if the ocl is not valid
      */
     public CrOCL(String ocl, String headline, String description,

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateExpression.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateExpression.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateExpression.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateExpression.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateExpression.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateExpression.java	2008-07-19 03:56:16-0700
@@ -120,16 +120,16 @@
     /**
      * Resets the internal state of this adapter
      * 
-     * @param mi
-     * @param modelElement
+     * @param mi the model interpreter
+     * @param element the model element
      */
-    public void reset(Object modelElement, ModelInterpreter mi) {
+    public void reset(Object element, ModelInterpreter mi) {
         this.interp = mi;
 
         val = null;
         fwd = null;
         vt = new HashMap<String, Object>();
-        vt.put("self", modelElement);
+        vt.put("self", element);
     }
 
     /**

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateInvariant.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateInvariant.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateInvariant.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateInvariant.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateInvariant.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/EvaluateInvariant.java	2008-07-19 03:56:16-0700
@@ -58,13 +58,13 @@
     /**
      * Constructor
      * 
-     * @param modelElement self
+     * @param element self
      * @param mi model interpreter
      */
-    public EvaluateInvariant(Object modelElement, ModelInterpreter mi) {
-        this.modelElement = modelElement;
+    public EvaluateInvariant(Object element, ModelInterpreter mi) {
+        this.modelElement = element;
         this.mi = mi;
-        this.expEvaluator = new EvaluateExpression(modelElement, mi);
+        this.expEvaluator = new EvaluateExpression(element, mi);
     }
 
     /**

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/InvalidOclException.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/InvalidOclException.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/InvalidOclException.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/InvalidOclException.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/InvalidOclException.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/InvalidOclException.java	2008-07-19 03:56:16-0700
@@ -34,7 +34,7 @@
     /**
      * Default Constructor
      * 
-     * @param ocl
+     * @param ocl the invalid ocl expression
      */
     public InvalidOclException(String ocl) {
         super(ocl);

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/OclInterpreter.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/OclInterpreter.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/OclInterpreter.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/OclInterpreter.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/OclInterpreter.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/OclInterpreter.java	2008-07-19 03:56:16-0700
@@ -28,8 +28,6 @@
 import java.io.StringReader;
 import java.util.Vector;
 
-import org.argouml.cognitive.Critic;
-
 import tudresden.ocl.parser.OclParser;
 import tudresden.ocl.parser.lexer.Lexer;
 import tudresden.ocl.parser.node.Start;
@@ -60,8 +58,8 @@
      * Creates a new OCL interpreter for a given OCL expression
      * 
      * @param ocl expression
-     * @param interpreter
-     * @throws InvalidOclException
+     * @param interpreter the interpreter
+     * @throws InvalidOclException if the expression is not valid
      */
     public OclInterpreter(String ocl, ModelInterpreter interpreter)
         throws InvalidOclException {

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/Bag.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/Bag.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/Bag.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/Bag.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/Bag.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/Bag.java	2008-07-19 03:56:16-0700
@@ -38,7 +38,7 @@
      * Counts the number of repetitons of E in this Bag, if E is not present
      * return 0
      * 
-     * @param element
+     * @param element the element
      * @return the number of occourrences of E in this bag
      */
     int count(E element);

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/CollectionsModelInterpreter.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/CollectionsModelInterpreter.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/CollectionsModelInterpreter.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/CollectionsModelInterpreter.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/CollectionsModelInterpreter.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/CollectionsModelInterpreter.java	2008-07-19 03:56:16-0700
@@ -341,15 +341,15 @@
         if (subject instanceof List) {
             if (type.equals("->")) {
                 if (feature.equals("at")) {
-                    return ((List)subject).get((Integer) parameters[0]);
+                    return ((List) subject).get((Integer) parameters[0]);
                 }
 
                 if (feature.equals("first")) {
-                    return ((List)subject).get(0);
+                    return ((List) subject).get(0);
                 }
 
                 if (feature.equals("last")) {
-                    return ((List)subject).get(((List)subject).size());
+                    return ((List) subject).get(((List) subject).size());
                 }                
             }
         }

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/HashBag.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/HashBag.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/HashBag.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/HashBag.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/HashBag.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/HashBag.java	2008-07-19 03:56:16-0700
@@ -48,7 +48,7 @@
     /**
      * Creates a new Bag from a Collection
      * 
-     * @param col
+     * @param col the collection
      */
     @SuppressWarnings("unchecked")
     public HashBag(Collection col) {
@@ -151,7 +151,6 @@
     }
 
     /**
-     * @param c
      * @see java.util.Set#retainAll(java.util.Collection)
      */
     public boolean retainAll(Collection c) {

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/ModelAccessModelInterpreter.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/ModelAccessModelInterpreter.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/ModelAccessModelInterpreter.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/ModelAccessModelInterpreter.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/ModelAccessModelInterpreter.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/ModelAccessModelInterpreter.java	2008-07-19 03:56:16-0700
@@ -84,6 +84,8 @@
 
     /**
      * Add the metamodel-metaclasses as built-in symbols
+     * @param sym the symbol
+     * @return the value of the symbol
      * 
      * @see org.argouml.profile.internal.ocl.ModelInterpreter#getBuiltInSymbol(java.lang.String)
      */
@@ -91,7 +93,7 @@
         Method m;
         try {
             m = Facade.class.getDeclaredMethod("isA" + sym,
-                    new Class[] { Object.class });
+                    new Class[] {Object.class});
             if (m != null) {
                 return new OclType(sym.toString());
             }

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclAPIModelInterpreter.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclAPIModelInterpreter.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclAPIModelInterpreter.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclAPIModelInterpreter.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclAPIModelInterpreter.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclAPIModelInterpreter.java	2008-07-19 03:56:16-0700
@@ -65,10 +65,10 @@
                     boolean applicable = false;
                     try {
                         Method m = Facade.class.getDeclaredMethod("isA"
-                                + typeName, new Class[] { Object.class });
+                                + typeName, new Class[] {Object.class});
                         if (m != null) {
                             applicable = (Boolean) m.invoke(Model.getFacade(),
-                                    new Object[] { subject });
+                                    new Object[] {subject});
                         }
                     } catch (Exception e) {
                         LOG.error("Exception", e);

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclType.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclType.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclType.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclType.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclType.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ocl/uml14/OclType.java	2008-07-19 03:56:16-0700
@@ -39,7 +39,7 @@
     /**
      * Default Constructor
      * 
-     * @param type
+     * @param type the type name
      */
     public OclType(String type) {
         this.name = type;

Modified: branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ui/PropPanelCritic.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ui/PropPanelCritic.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ui/PropPanelCritic.java&p2=branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ui/PropPanelCritic.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ui/PropPanelCritic.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/src/org/argouml/profile/internal/ui/PropPanelCritic.java	2008-07-19 03:56:16-0700
@@ -89,6 +89,7 @@
     }
 
     /**
+     * @param t the target
      * @see org.argouml.uml.ui.PropPanel#setTarget(java.lang.Object)
      */
     public void setTarget(Object t) {

Modified: branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/TestProfileMother.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/TestProfileMother.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/TestProfileMother.java&p2=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/TestProfileMother.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/TestProfileMother.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/TestProfileMother.java	2008-07-19 03:56:16-0700
@@ -66,7 +66,7 @@
     /**
      * test simple profile model creation
      * 
-     * @throws Exception
+     * @throws Exception is something goes wrong
      */
     public void testCreateSimpleProfileModel() throws Exception {
         final Object model = mother.createSimpleProfileModel();
@@ -93,7 +93,7 @@
     /**
      * test save profile model
      * 
-     * @throws Exception
+     * @throws Exception if something goes wrong
      */
     public void testSaveProfileModel() throws Exception {
         Object model = mother.createSimpleProfileModel();

Modified: branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/TestProfileJava.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/TestProfileJava.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/TestProfileJava.java&p2=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/TestProfileJava.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/TestProfileJava.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/TestProfileJava.java	2008-07-19 03:56:16-0700
@@ -47,7 +47,7 @@
     /**
      * test java profile creation
      * 
-     * @throws ProfileException
+     * @throws ProfileException if something goes wrong
      */
     public void testProfileJava() throws ProfileException {
         new ProfileJava(new ProfileUML());
@@ -56,7 +56,7 @@
     /**
      * test java profile creation
      * 
-     * @throws Exception
+     * @throws Exception if something goes wrong
      */
     public void testProfileJavaNoArgs() throws Exception {
         new ProfileJava();

Modified: branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL.java&p2=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL.java	2008-07-19 03:56:16-0700
@@ -47,7 +47,7 @@
     /**
      * Test the <code>predicate2</code> operation
      * 
-     * @throws Exception
+     * @throws Exception if something goes wrong
      */
     public void testPredicate() throws Exception {
         Object obj1 = Model.getUseCasesFactory().createActor();

Modified: branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL2.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL2.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL2.java&p2=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL2.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL2.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestCrOCL2.java	2008-07-19 03:56:16-0700
@@ -47,7 +47,7 @@
     /**
      * Test collections operations in objects
      * 
-     * @throws Exception
+     * @throws Exception if something goes wrong
      */
     public void test6_5_4_2() throws Exception {
         Object obj = Model.getUseCasesFactory().createActor();

Modified: branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestOclInterpreter.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestOclInterpreter.java?view=diff&rev=15305&p1=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestOclInterpreter.java&p2=branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestOclInterpreter.java&r1=15304&r2=15305
==============================================================================
--- branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestOclInterpreter.java	(original)
+++ branches/gsoc2008/work_midterm_maurelio1234/tests/org/argouml/profile/internal/ocl/TestOclInterpreter.java	2008-07-19 03:56:16-0700
@@ -58,7 +58,7 @@
     /**
      * Test <code>applicable</code> operation
      * 
-     * @throws Exception
+     * @throws Exception if something goes wrong
      */
     public void testApplicable() throws Exception {
         Object obj1 = Model.getUseCasesFactory().createActor();
@@ -76,7 +76,7 @@
     /**
      * Test <code>getTriggers</code> operation
      * 
-     * @throws Exception
+     * @throws Exception if something goes wrong
      */
     public void testGetTriggers() throws Exception {
         String ocl = "context Actor inv: 2 > 0";
@@ -90,7 +90,7 @@
     /**
      * Test <code>check</code> operation (general)
      * 
-     * @throws Exception
+     * @throws Exception if something goes wrong
      */
     public void testCheckGeneral() throws Exception {
         Object obj = Model.getUseCasesFactory().createActor();
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.