svn commit: r13616 - trunk/src_new/org/argouml: persistence ui/explorer/rules uml/profile
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-09-26 23:50:51-0700
New Revision: 13616
Modified:
trunk/src_new/org/argouml/persistence/ProfileConfigurationFilePersister.java
trunk/src_new/org/argouml/ui/explorer/rules/GoProjectToRoots.java
trunk/src_new/org/argouml/uml/profile/UserDefinedProfile.java
Log:
Minor style cleanup.
Modified: trunk/src_new/org/argouml/persistence/ProfileConfigurationFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/persistence/ProfileConfigurationFilePersister.java?view=diff&rev=13616&p1=trunk/src_new/org/argouml/persistence/ProfileConfigurationFilePersister.java&p2=trunk/src_new/org/argouml/persistence/ProfileConfigurationFilePersister.java&r1=13615&r2=13616
==============================================================================
--- trunk/src_new/org/argouml/persistence/ProfileConfigurationFilePersister.java (original)
+++ trunk/src_new/org/argouml/persistence/ProfileConfigurationFilePersister.java 2007-09-26 23:50:51-0700
@@ -110,13 +110,13 @@
StringBuffer xmi = new StringBuffer();
- while(true) {
+ while (true) {
line = br.readLine();
if (line == null || line.contains("</model>")) {
break;
}
-
- xmi.append(line+"\n");
+
+ xmi.append(line + "\n");
}
Collection model = readModelXMI(xmi.toString());
Modified: trunk/src_new/org/argouml/ui/explorer/rules/GoProjectToRoots.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/ui/explorer/rules/GoProjectToRoots.java?view=diff&rev=13616&p1=trunk/src_new/org/argouml/ui/explorer/rules/GoProjectToRoots.java&p2=trunk/src_new/org/argouml/ui/explorer/rules/GoProjectToRoots.java&r1=13615&r2=13616
==============================================================================
--- trunk/src_new/org/argouml/ui/explorer/rules/GoProjectToRoots.java (original)
+++ trunk/src_new/org/argouml/ui/explorer/rules/GoProjectToRoots.java 2007-09-26 23:50:51-0700
@@ -54,9 +54,9 @@
public Collection getChildren(Object parent) {
- if (parent instanceof Project) {
- return ((Project)parent).getRoots();
- }
+ if (parent instanceof Project) {
+ return ((Project) parent).getRoots();
+ }
return null;
}
Modified: trunk/src_new/org/argouml/uml/profile/UserDefinedProfile.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/profile/UserDefinedProfile.java?view=diff&rev=13616&p1=trunk/src_new/org/argouml/uml/profile/UserDefinedProfile.java&p2=trunk/src_new/org/argouml/uml/profile/UserDefinedProfile.java&r1=13615&r2=13616
==============================================================================
--- trunk/src_new/org/argouml/uml/profile/UserDefinedProfile.java (original)
+++ trunk/src_new/org/argouml/uml/profile/UserDefinedProfile.java 2007-09-26 23:50:51-0700
@@ -67,26 +67,23 @@
}
/**
- * @return the string that should represent this profile in the GUI. An start (*) is placed on it if it comes from the currently opened zargo file.
+ * @return the string that should represent this profile in the GUI. An
+ * start (*) is placed on it if it comes from the currently opened
+ * zargo file.
*
* @see org.argouml.uml.profile.Profile#getDisplayName()
*/
public String getDisplayName() {
- return displayName + (fromZargo? "*" : "");
+ return displayName + (fromZargo ? "*" : "");
}
- /**
- * @return null
- * @see org.argouml.uml.profile.Profile#getFormatingStrategy()
- */
+
+ @Override
public FormatingStrategy getFormatingStrategy() {
return null;
}
- /**
- * @return null
- * @see org.argouml.uml.profile.Profile#getFigureStrategy()
- */
+ @Override
public FigNodeStrategy getFigureStrategy() {
return null;
}
@@ -98,6 +95,7 @@
return modelFile;
}
+ @Override
public String toString() {
return super.toString() + " [" + getModelFile() + "]";
}