Commit e0205e64 authored by Manoel Campos's avatar Manoel Campos

Merge

parents e0334f46 c1ffe5a9
...@@ -29,12 +29,11 @@ public class ResCloudletList { ...@@ -29,12 +29,11 @@ public class ResCloudletList {
* @param userId an User Id * @param userId an User Id
* @param list the list of ResCloudlet * @param list the list of ResCloudlet
* @return a Cloudlet or null if not found * @return a Cloudlet or null if not found
* @pre cloudletId >= 0
* @pre cloudletId >= 0
* @pre userId >= 0 * @pre userId >= 0
* @post $none * @post $none
* *
* @todo The second phrase of the class documentation is not clear. * @todo The second phrase of the class documentation is not clear.
*/ */
public static <T extends ResCloudlet> ResCloudlet getByIdAndUserId( public static <T extends ResCloudlet> ResCloudlet getByIdAndUserId(
List<T> list, List<T> list,
...@@ -50,7 +49,7 @@ public class ResCloudletList { ...@@ -50,7 +49,7 @@ public class ResCloudletList {
/** /**
* Finds the index of a ResCloudlet inside a list. * Finds the index of a ResCloudlet inside a list.
* This method needs a combination of Cloudlet Id * This method needs a combination of Cloudlet Id
* and User Id because each Cloud User might have exactly the same Cloudlet Id. * and User Id because each Cloud User might have exactly the same Cloudlet Id.
* *
* @param cloudletId a Cloudlet Id * @param cloudletId a Cloudlet Id
...@@ -94,7 +93,7 @@ public class ResCloudletList { ...@@ -94,7 +93,7 @@ public class ResCloudletList {
/** /**
* Gets the position of a ResCloudlet with a given id. * Gets the position of a ResCloudlet with a given id.
* *
* @param cloudletList the list of cloudlets. * @param cloudletList the list of cloudlets.
* @param id the cloudlet id * @param id the cloudlet id
* @return the position of the cloudlet with that id, or -1 if not found. * @return the position of the cloudlet with that id, or -1 if not found.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment