java/code/src/com/redhat/rhn/manager/kickstart/tree/BaseTreeEditOperation.java | 10
+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 3b8f37670e91048123fa8dbcdc081eaa271b4661
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Fri Jul 13 08:07:19 2012 +0200
checkstyle fix
addressing:
Name 'xen_distro' must match pattern '^[a-z][a-zA-Z0-9]*$'.
diff --git
a/java/code/src/com/redhat/rhn/manager/kickstart/tree/BaseTreeEditOperation.java
b/java/code/src/com/redhat/rhn/manager/kickstart/tree/BaseTreeEditOperation.java
index 9f5b053..5a48b20 100644
--- a/java/code/src/com/redhat/rhn/manager/kickstart/tree/BaseTreeEditOperation.java
+++ b/java/code/src/com/redhat/rhn/manager/kickstart/tree/BaseTreeEditOperation.java
@@ -95,17 +95,17 @@ public abstract class BaseTreeEditOperation extends
BasePersistOperation {
Distro distro = Distro.lookupById(CobblerXMLRPCHelper.getConnection(
this.getUser()), tree.getCobblerId());
- Distro xen_distro = Distro.lookupById(CobblerXMLRPCHelper.getConnection(
+ Distro xenDistro = Distro.lookupById(CobblerXMLRPCHelper.getConnection(
this.getUser()), tree.getCobblerXenId());
Map kOpts = distro.getKernelOptions();
distro.setKernelOptions(getKernelOptions());
distro.setKernelPostOptions(getPostKernelOptions());
distro.save();
- if (xen_distro != null) {
- xen_distro.setKernelOptions(getKernelOptions());
- xen_distro.setKernelPostOptions(getPostKernelOptions());
- xen_distro.save();
+ if (xenDistro != null) {
+ xenDistro.setKernelOptions(getKernelOptions());
+ xenDistro.setKernelPostOptions(getPostKernelOptions());
+ xenDistro.save();
}
}
catch (XmlRpcException xe) {
Show replies by date