More Galileo hygiene.

This commit is contained in:
Michael Bayne
2009-09-15 04:53:50 +00:00
parent 6a4c14b1eb
commit 04dc2daa8b
6 changed files with 7 additions and 7 deletions
@@ -44,7 +44,7 @@ import com.samskivert.depot.impl.FindAllQuery;
*/ */
public interface CacheAdapter public interface CacheAdapter
{ {
public enum CacheCategory { RECORD, SHORT_KEYSET, LONG_KEYSET, RESULT }; public enum CacheCategory { RECORD, SHORT_KEYSET, LONG_KEYSET, RESULT }
/** The encapsulated result of a cache lookup. */ /** The encapsulated result of a cache lookup. */
public interface CachedValue<T> public interface CachedValue<T>
@@ -123,7 +123,7 @@ public abstract class DepotRepository
* very memory intensive. * very memory intensive.
*/ */
CONTENTS CONTENTS
}; }
/** /**
* Creates a repository with the supplied persistence context. Any schema migrations needed by * Creates a repository with the supplied persistence context. Any schema migrations needed by
@@ -35,7 +35,7 @@ import com.samskivert.depot.impl.operator.Equals;
public class Join implements QueryClause public class Join implements QueryClause
{ {
/** Indicates the join type to be used. The default is INNER. */ /** Indicates the join type to be used. The default is INNER. */
public static enum Type { INNER, LEFT_OUTER, RIGHT_OUTER }; public static enum Type { INNER, LEFT_OUTER, RIGHT_OUTER }
public Join (ColumnExp primary, ColumnExp join) public Join (ColumnExp primary, ColumnExp join)
{ {
@@ -34,7 +34,7 @@ import com.samskivert.depot.impl.expression.LiteralExp;
public class OrderBy implements QueryClause public class OrderBy implements QueryClause
{ {
/** Indicates the order of the clause. */ /** Indicates the order of the clause. */
public enum Order { ASC, DESC }; public enum Order { ASC, DESC }
/** /**
* Creates and returns a random order by clause. * Creates and returns a random order by clause.
@@ -31,7 +31,7 @@ public abstract class DateFun
public enum Part { public enum Part {
DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, HOUR, MINUTE, MONTH, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, HOUR, MINUTE, MONTH,
SECOND, WEEK, YEAR, EPOCH SECOND, WEEK, YEAR, EPOCH
}; }
public DatePart (SQLExpression date, Part part) { public DatePart (SQLExpression date, Part part) {
super(date); super(date);
_part = part; _part = part;
@@ -55,7 +55,7 @@ public abstract class DateFun
*/ */
public enum Truncation { public enum Truncation {
DAY, DAY,
}; }
/** /**
* Truncate a SQL timestamp value, currently only to the nearest day (Truncation.DAY) due * Truncate a SQL timestamp value, currently only to the nearest day (Truncation.DAY) due
* to lacking MySQL support, but we hope for future versions to match PostgreSQL. * to lacking MySQL support, but we hope for future versions to match PostgreSQL.
@@ -33,7 +33,7 @@ public class IntervalExp
implements SQLExpression implements SQLExpression
{ {
/** The units that can be used for an interval. */ /** The units that can be used for an interval. */
public enum Unit { YEAR, MONTH, DAY, HOUR, MINUTE, SECOND }; public enum Unit { YEAR, MONTH, DAY, HOUR, MINUTE, SECOND }
/** The unit for this interval. */ /** The unit for this interval. */
public final Unit unit; public final Unit unit;