OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | fractal-commits List | Febuary 2006 Index

<--  Date Index  --> <--  Thread Index  -->

CVS update of aokell/features/membrane/comp/src/org/objectweb/fractal/aokell (1 file)


    Date: Monday, February 27, 2006 @ 18:56:00
  Author: seintur
    Path: .../aokell/features/membrane/comp/src/org/objectweb/fractal/aokell

Modified: AOKellMembranes.java

Refactoring: Retrieve membrane definitions with a method (instead of simply 
accessing a field.)


----------------------+
 AOKellMembranes.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


Index: 
aokell/features/membrane/comp/src/org/objectweb/fractal/aokell/AOKellMembranes.java
diff -u 
aokell/features/membrane/comp/src/org/objectweb/fractal/aokell/AOKellMembranes.java:1.1
 
aokell/features/membrane/comp/src/org/objectweb/fractal/aokell/AOKellMembranes.java:1.2
--- 
aokell/features/membrane/comp/src/org/objectweb/fractal/aokell/AOKellMembranes.java:1.1
     Sat Feb 11 06:44:00 2006
+++ 
aokell/features/membrane/comp/src/org/objectweb/fractal/aokell/AOKellMembranes.java
 Mon Feb 27 18:56:00 2006
@@ -42,13 +42,19 @@
 
 
 /**
- * The class contains a single field which defines the membranes supported by
- * AOKell.
+ * The class defines the membranes supported by AOKell.
  * 
  * @author Lionel Seinturier <Lionel.Seinturier@xxxxxxx>
  */
 public class AOKellMembranes {
 
+    /**
+     * Return the membranes supported by AOKell.
+     */
+    public static MembraneDef[] getMembranes() {
+        return MEMBRANES;
+    }
+    
     /** AOKell membranes. */
     final public static MembraneDef[] MEMBRANES =
         new MembraneDef[]{



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.