You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by mc...@apache.org on 2008/05/13 17:17:35 UTC

svn commit: r655905 - /incubator/tuscany/java/sca/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/BundleReference.java

Author: mcombellack
Date: Tue May 13 08:17:35 2008
New Revision: 655905

URL: http://svn.apache.org/viewvc?rev=655905&view=rev
Log:
Minor corrections to the JavaDoc

Modified:
    incubator/tuscany/java/sca/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/BundleReference.java

Modified: incubator/tuscany/java/sca/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/BundleReference.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/BundleReference.java?rev=655905&r1=655904&r2=655905&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/BundleReference.java (original)
+++ incubator/tuscany/java/sca/modules/contribution-osgi/src/main/java/org/apache/tuscany/sca/contribution/osgi/BundleReference.java Tue May 13 08:17:35 2008
@@ -27,17 +27,39 @@
  * @version $Rev$ $Date$
  */
 public class BundleReference {
-    
+
+    /**
+     * The bundle.
+     */
     private Object bundle;
+
+    /**
+     * The bundle name.
+     */
     private String bundleName;
+
+    /**
+     * The bundle version.
+     */
     private String bundleVersion;
+
+    /**
+     * The bundle name and version.
+     */
     private String bundleUniqueName;
+
+    /**
+     * The bundle relative path.
+     */
     private String bundleRelativePath;
 
     /**
      * Constructs a new BundleReference.
      * 
      * @param bundle The bundle reference
+     * @param bundleName The bundle name
+     * @param bundleVersion The bundle version
+     * @param bundleRelativePath The relative path for the bundle
      */
     public BundleReference(Object bundle, String bundleName, String bundleVersion, String bundleRelativePath) {
         this.bundle = bundle;
@@ -50,7 +72,8 @@
     /**
      * Constructs a new BundleReference.
      * 
-     * @param className The class name
+     * @param bundleName The bundle name
+     * @param bundleVersion The bundle version
      */
     public BundleReference(String bundleName, String bundleVersion) {
         this.bundleName = bundleName;
@@ -95,7 +118,7 @@
     }
     
     /**
-     * Get the relative location of the bundle inside its contribution
+     * Get the relative location of the bundle inside its contribution.
      * 
      * @return The bundle path
      */