More Galileo hygiene.
This commit is contained in:
@@ -44,7 +44,7 @@ import com.samskivert.depot.impl.FindAllQuery;
|
||||
*/
|
||||
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. */
|
||||
public interface CachedValue<T>
|
||||
|
||||
@@ -123,7 +123,7 @@ public abstract class DepotRepository
|
||||
* very memory intensive.
|
||||
*/
|
||||
CONTENTS
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
{
|
||||
/** 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)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.samskivert.depot.impl.expression.LiteralExp;
|
||||
public class OrderBy implements QueryClause
|
||||
{
|
||||
/** Indicates the order of the clause. */
|
||||
public enum Order { ASC, DESC };
|
||||
public enum Order { ASC, DESC }
|
||||
|
||||
/**
|
||||
* Creates and returns a random order by clause.
|
||||
|
||||
@@ -31,7 +31,7 @@ public abstract class DateFun
|
||||
public enum Part {
|
||||
DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, HOUR, MINUTE, MONTH,
|
||||
SECOND, WEEK, YEAR, EPOCH
|
||||
};
|
||||
}
|
||||
public DatePart (SQLExpression date, Part part) {
|
||||
super(date);
|
||||
_part = part;
|
||||
@@ -55,7 +55,7 @@ public abstract class DateFun
|
||||
*/
|
||||
public enum Truncation {
|
||||
DAY,
|
||||
};
|
||||
}
|
||||
/**
|
||||
* 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.
|
||||
|
||||
@@ -33,7 +33,7 @@ public class IntervalExp
|
||||
implements SQLExpression
|
||||
{
|
||||
/** 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. */
|
||||
public final Unit unit;
|
||||
|
||||
Reference in New Issue
Block a user