cloudstack/plugins/hypervisors
weingartner ec8976f802 Removed duplicate code in CitrixResourceBase.getPatchFiles
@cristofolini comments:
Removed unnecessary duplicated code by having the body of the
getPatchFiles method only in the
CitrixResourceBase superclass. Given that all of its implementations
consisted of the same code
except for the path which contains the necessary file for that
implementation. An abstract method
getPatchFilePath was created in the CitrixResourceBase superclass so
that each implementation may
return the path containing the specific file needed by that
implementation.

Test cases were created for each implementation, simple as they may be.
One assert is made to verify
that the path returned by each implementation corresponds to the path
that was previously specified
on each getPatchFiles implementation.

removed trailing whitespace
2015-08-17 13:26:25 -03:00
..
baremetal Refactored NicProfile.java for readability. 2015-08-17 14:12:10 +02:00
hyperv Refactored NicProfile.java for readability. 2015-08-17 14:12:10 +02:00
kvm Merge pull request #630 from manuiiit/pull-2 2015-08-17 08:38:38 +02:00
ovm Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING in OvmResourceBase.java 2015-06-22 10:50:48 +02:00
ovm3 Specify all dependency versions in pom.xml 2015-06-22 13:01:19 +02:00
simulator CLOUDSTACK-8656: class in json specified not found 2015-08-14 16:29:21 +02:00
ucs Fix findbugs warning in UcsManagerImpl.java Integer was being created to assign value to int 2015-06-15 12:09:37 +03:00
vmware Merge pull request #654 from DaanHoogland/CLOUDSTACK-8656 2015-08-14 21:38:49 +02:00
xenserver Removed duplicate code in CitrixResourceBase.getPatchFiles 2015-08-17 13:26:25 -03:00