svn commit: r18557 - trunk/src/argouml-app/src/org/argouml/notation/providers/uml/NotationUtilityUml.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: linus
Date: 2010-07-24 08:42:13-0700
New Revision: 18557

Modified:
   trunk/src/argouml-app/src/org/argouml/notation/providers/uml/NotationUtilityUml.java

Log:
Reduced the visibility of the init method.
Fixed the findbugs complaint about writing to static fields from instance method.

Modified: trunk/src/argouml-app/src/org/argouml/notation/providers/uml/NotationUtilityUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/notation/providers/uml/NotationUtilityUml.java?view=diff&pathrev=18557&r1=18556&r2=18557
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/notation/providers/uml/NotationUtilityUml.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/notation/providers/uml/NotationUtilityUml.java	2010-07-24 08:42:13-0700
@@ -120,8 +120,8 @@
         parameterCustomSep.add(MyTokenizer.PAREN_EXPR_STRING_SEPARATOR);
     }
 
-    public void init() {
-	int assPos = 0;
+    static void init() {
+        int assPos = 0;
         attributeSpecialStrings[assPos++] =
             new PropertySpecialString("frozen",
                 new PropertyOperation() {

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2637676

To unsubscribe from this discussion, e-mail: [[email protected]].
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.