summaryrefslogtreecommitdiffstats
path: root/proxy/code/src
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2009-11-23 15:34:09 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2009-11-23 15:34:09 -0400
commit110e92e9df170964779d148eb9ac075ca4239a08 (patch)
treec77272dbaa7be6da5d9be2dc77b2149ccccff9d3 /proxy/code/src
parentdfa3590eb2649792fdd29000a325e74033c85203 (diff)
downloadcandlepin-110e92e9df170964779d148eb9ac075ca4239a08.tar.gz
candlepin-110e92e9df170964779d148eb9ac075ca4239a08.tar.xz
candlepin-110e92e9df170964779d148eb9ac075ca4239a08.zip
Minor code cleanup.
Diffstat (limited to 'proxy/code/src')
-rw-r--r--proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java3
-rw-r--r--proxy/code/src/org/fedoraproject/candlepin/resource/CertificateResource.java1
-rw-r--r--proxy/code/src/org/fedoraproject/candlepin/resource/EntitlementMatcher.java9
3 files changed, 5 insertions, 8 deletions
diff --git a/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java b/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java
index b5b1229..be6dcff 100644
--- a/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java
+++ b/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java
@@ -27,8 +27,7 @@ import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
/**
- * A class for parsing certificates from their XML form. The XML
- * format is identical to the one used by the perl code.
+ * A class for parsing certificates from their XML form.
*
* Borrowed from project Spacewalk: http://spacewalk.redhat.com
*/
diff --git a/proxy/code/src/org/fedoraproject/candlepin/resource/CertificateResource.java b/proxy/code/src/org/fedoraproject/candlepin/resource/CertificateResource.java
index c749f0e..bffd616 100644
--- a/proxy/code/src/org/fedoraproject/candlepin/resource/CertificateResource.java
+++ b/proxy/code/src/org/fedoraproject/candlepin/resource/CertificateResource.java
@@ -42,7 +42,6 @@ import javax.ws.rs.core.Response;
/**
* CertificateResource
- * @version $Rev$
*/
@Path("/certificate")
public class CertificateResource extends BaseResource {
diff --git a/proxy/code/src/org/fedoraproject/candlepin/resource/EntitlementMatcher.java b/proxy/code/src/org/fedoraproject/candlepin/resource/EntitlementMatcher.java
index fbfd12c..9b7bbda 100644
--- a/proxy/code/src/org/fedoraproject/candlepin/resource/EntitlementMatcher.java
+++ b/proxy/code/src/org/fedoraproject/candlepin/resource/EntitlementMatcher.java
@@ -25,9 +25,8 @@ import org.apache.log4j.Logger;
import java.util.List;
/**
- * EntitlementMatcher - initial class for matching products compatability
+ * EntitlementMatcher - initial class for matching products compatibility
* with an entitlement.
- * @version $Rev$
*/
public class EntitlementMatcher {
@@ -38,13 +37,13 @@ public class EntitlementMatcher {
.getLogger(EntitlementMatcher.class);
/**
- * Check if a given consumer is compat with given product.
+ * Check if a given consumer is compatible with given product.
* @param c consumer to check
* @param p product to check
- * @return boolean if compat or not
+ * @return boolean if compatible or not
*/
public boolean isCompatible(Consumer c, Product p) {
- log.debug("isCompatible() : Consuner: " + c + " product: " + p);
+ log.debug("isCompatible() : Consumer: " + c + " product: " + p);
if (c.getType() == null) {
throw new NullPointerException("Consumer has no type.");
}