From f3b3c029be0ecda040e9ef461df2f66008351269 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 5 Sep 2006 04:18:48 +0000 Subject: comment typo --- src/main/java/com/amazon/carbonado/qe/OrderingScore.java | 6 +++--- src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/qe') diff --git a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java index 0730b4f..82d44a7 100644 --- a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java +++ b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java @@ -146,7 +146,7 @@ public class OrderingScore { for (int i=0; i indexChained = indexProperties[i].getChainedProperty(); if (!identityPropSet.contains(indexChained)) { - // Missed a property, so ordering is still relevent. + // Missed a property, so ordering is still relevant. break uniquelyCheck; } } @@ -391,7 +391,7 @@ public class OrderingScore { * Returns potential ordering properties that the evaluated index can * handle, if arranged to immediately follow the handled orderings. The * direction of any free orderings may be UNSPECIFIED, which indicates that - * specific order is not relevent. + * specific order is not relevant. * * @return free orderings, never null */ @@ -402,7 +402,7 @@ public class OrderingScore { /** * Returns unused ordering properties of the evaluated index because they * were filtered out. The direction of each unused ordering is UNSPECIFIED - * because specific order is not relevent. + * because specific order is not relevant. * * @return unused orderings, never null */ diff --git a/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java b/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java index 2fd492e..81779b0 100644 --- a/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java +++ b/src/main/java/com/amazon/carbonado/qe/UnionQueryAnalyzer.java @@ -102,7 +102,7 @@ public class UnionQueryAnalyzer { } private boolean isTotalOrdering(List> orderings) { - // First strip out directions, since they are not relevent here. + // First strip out directions, since they are not relevant here. List> properties = new ArrayList>(orderings.size()); for (OrderedProperty ordering : orderings) { properties.add(ordering.getChainedProperty()); @@ -131,7 +131,7 @@ public class UnionQueryAnalyzer { return false; } - // Strip out directions, since they are not relevent here. + // Strip out directions, since they are not relevant here. Set> keyProps = new HashSet>(orderedKeyProps.size()); for (OrderedProperty ordering : orderedKeyProps) { keyProps.add(ordering.getChainedProperty()); -- cgit v1.2.3