Author: maurelio1234
Date: 2008-07-09 13:31:13-0700
New Revision: 15221
Modified:
branches/gsoc2008/work_criticsprofiles_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java
Log:
code comments
Modified: branches/gsoc2008/work_criticsprofiles_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2008/work_criticsprofiles_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java?view=diff&rev=15221&p1=branches/gsoc2008/work_criticsprofiles_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java&p2=branches/gsoc2008/work_criticsprofiles_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java&r1=15220&r2=15221
==============================================================================
--- branches/gsoc2008/work_criticsprofiles_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java (original)
+++ branches/gsoc2008/work_criticsprofiles_maurelio1234/src/org/argouml/profile/UserDefinedProfile.java 2008-07-09 13:31:13-0700
@@ -166,20 +166,20 @@
}
/**
- * A constructor that reads a file from an URL
- * associated with some profiles
- * @param entryName
+ * A constructor that reads a file from an URL associated with some profiles
*
- * @param url the URL
+ * @param displayName the display name of the profile
+ * @param url the URL of the profile mode
* @param critics the Critics defined by this profile
- * @param dependencies
- * @throws ProfileException
+ * @param dependencies the dependencies of this profile
+ *
+ * @throws ProfileException if the model cannot be loaded
*/
- public UserDefinedProfile(String entryName, URL url, Set<CrUML> critics, Set<Profile> dependencies)
- throws ProfileException {
+ public UserDefinedProfile(String displayName, URL url, Set<CrUML> critics,
+ Set<Profile> dependencies) throws ProfileException {
LOG.info("load " + url);
- displayName = entryName;
+ this.displayName = displayName;
if (url != null) {
ProfileReference reference = null;
reference = new UserProfileReference(url.getPath(), url);
@@ -188,7 +188,7 @@
model = new ArrayList(0);
}
this.critics = critics;
-
+
for (Profile profile : dependencies) {
addProfileDependency(profile);
}
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.