svn commit: r16946 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/OrderingKindEUMLImpl.java
Tom Morris <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2009-03-26 01:01:11-0700
New Revision: 16946
Modified:
trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/OrderingKindEUMLImpl.java
Log:
Move string to constant so it can be reused
Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/OrderingKindEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/OrderingKindEUMLImpl.java?view=diff&pathrev=16946&r1=16945&r2=16946
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/OrderingKindEUMLImpl.java (original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/OrderingKindEUMLImpl.java 2009-03-26 01:01:11-0700
@@ -1,5 +1,4 @@
-// $Id$
-// Copyright (c) 2007, The ArgoUML Project
+// Copyright (c) 2007,2009 Tom Morris and other contributors
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@@ -9,14 +8,14 @@
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
-// * Neither the name of the ArgoUML Project nor the
-// names of its contributors may be used to endorse or promote products
-// derived from this software without specific prior written permission.
+// * Neither the name of the project or its contributors may be used
+// to endorse or promote products derived from this software without
+// specific prior written permission.
//
-// THIS SOFTWARE IS PROVIDED BY THE ArgoUML PROJECT ``AS IS'' AND ANY
+// THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-// DISCLAIMED. IN NO EVENT SHALL THE ArgoUML PROJECT BE LIABLE FOR ANY
+// DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
@@ -33,8 +32,10 @@
*/
class OrderingKindEUMLImpl implements OrderingKind {
+ static final String ORDERED = "ordered"; //$NON-NLS-1$
+
public Object getOrdered() {
- return "ordered"; //$NON-NLS-1$
+ return ORDERED;
}
public Object getUnordered() {
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1426822
To unsubscribe from this discussion, e-mail: [[email protected]].