tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r509768 - in /incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca: Constants.java Version.java
Date Tue, 20 Feb 2007 21:54:35 GMT
Author: jboynes
Date: Tue Feb 20 13:54:34 2007
New Revision: 509768

URL: http://svn.apache.org/viewvc?view=rev&rev=509768
Log:
convert Constants to an interface to match spec
deprecate Version for removal

Modified:
    incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Constants.java
    incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Version.java

Modified: incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Constants.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Constants.java?view=diff&rev=509768&r1=509767&r2=509768
==============================================================================
--- incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Constants.java (original)
+++ incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Constants.java Tue
Feb 20 13:54:34 2007
@@ -3,12 +3,14 @@
 /**
  * @version $Rev$ $Date$
  */
-public final class Constants {
+public interface Constants {
+    /**
+     * Namespace for intents.
+     */
+    String SCA_NS = "http://www.osoa.org/xmlns/sca/1.0";
 
-    public static final String SCA_NS = "http://www.osoa.org/xmlns/sca/1.0";
-
-    public static final String SCA_PREFIX = '{' + SCA_NS + '}';
-
-    private Constants() {
-    }
+    /**
+     * Prefix form of the namespace that can be prepended to intent declarations.
+     */
+    String SCA_PREFIX = '{' + SCA_NS + '}';
 }

Modified: incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Version.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Version.java?view=diff&rev=509768&r1=509767&r2=509768
==============================================================================
--- incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Version.java (original)
+++ incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/Version.java Tue Feb
20 13:54:34 2007
@@ -24,6 +24,7 @@
  *
  * @version $Rev$ $Date$
  */
+@Deprecated
 public final class Version {
     /**
      * Identifier for version 1.0



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message