Hi all

Real simple patch to remove a duplicate check.

CC

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
From a02862295b008ffef4156a64ec50e0d4efc0fd6e Mon Sep 17 00:00:00 2001
From: Colin Coe <[email protected]>
Date: Wed, 11 Feb 2009 21:16:55 +0900
Subject: [PATCH] Remove duplicate isRhel2 check

---
 .../rhn/domain/kickstart/KickstartInstallType.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git 
a/java/code/src/com/redhat/rhn/domain/kickstart/KickstartInstallType.java 
b/java/code/src/com/redhat/rhn/domain/kickstart/KickstartInstallType.java
index a4ecf35..a5bf793 100644
--- a/java/code/src/com/redhat/rhn/domain/kickstart/KickstartInstallType.java
+++ b/java/code/src/com/redhat/rhn/domain/kickstart/KickstartInstallType.java
@@ -75,7 +75,7 @@ public class KickstartInstallType extends BaseDomainHelper {
      * @return true if the installer type is rhel  
      */    
     public boolean isRhel() {
-        return isRhel2() || isRhel2() || isRhel3() || isRhel4() || isRhel5();
+        return isRhel2() || isRhel3() || isRhel4() || isRhel5();
     }
     
     /**
-- 
1.5.5.1

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to