This commit is contained in:
Zoltan Haindrich 2024-07-24 17:20:42 +00:00
parent 0be1f81d7e
commit 7428da51de
5 changed files with 4 additions and 5 deletions

View File

@ -20,7 +20,6 @@
package org.apache.druid.java.util.common.granularity; package org.apache.druid.java.util.common.granularity;
import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.primitives.Longs; import com.google.common.primitives.Longs;
import org.apache.druid.java.util.common.Cacheable; import org.apache.druid.java.util.common.Cacheable;
import org.apache.druid.java.util.common.DateTimes; import org.apache.druid.java.util.common.DateTimes;
@ -156,7 +155,6 @@ public abstract class Granularity implements Cacheable
*/ */
public abstract boolean isAligned(Interval interval); public abstract boolean isAligned(Interval interval);
@JsonIgnore
public DateTimeZone getTimeZone() public DateTimeZone getTimeZone()
{ {
return DateTimeZone.UTC; return DateTimeZone.UTC;

View File

@ -25,6 +25,7 @@ import com.google.common.collect.RangeSet;
import org.apache.druid.common.config.NullHandling; import org.apache.druid.common.config.NullHandling;
import org.apache.druid.java.util.common.Cacheable; import org.apache.druid.java.util.common.Cacheable;
import org.apache.druid.query.extraction.ExtractionFn; import org.apache.druid.query.extraction.ExtractionFn;
import javax.annotation.Nullable; import javax.annotation.Nullable;
import java.util.Set; import java.util.Set;

View File

@ -188,7 +188,7 @@ public class RowSignature implements ColumnInspector
} }
@JsonValue @JsonValue
public List<ColumnSignature> asColumnSignatures() private List<ColumnSignature> asColumnSignatures()
{ {
final List<ColumnSignature> retVal = new ArrayList<>(); final List<ColumnSignature> retVal = new ArrayList<>();

View File

@ -23,7 +23,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import org.joda.time.Period; import org.joda.time.Period;
public /*FIXME*/ class AvaticaServerConfig class AvaticaServerConfig
{ {
public static int DEFAULT_MAX_CONNECTIONS = 25; public static int DEFAULT_MAX_CONNECTIONS = 25;
public static int DEFAULT_MAX_STATEMENTS_PER_CONNECTION = 4; public static int DEFAULT_MAX_STATEMENTS_PER_CONNECTION = 4;

View File

@ -34,7 +34,7 @@ import org.apache.druid.server.security.ForbiddenException;
/** /**
* ErrorHandler is a utility class that is used to sanitize exceptions. * ErrorHandler is a utility class that is used to sanitize exceptions.
*/ */
public /*FIXME*/ class ErrorHandler class ErrorHandler
{ {
private final ErrorResponseTransformStrategy errorResponseTransformStrategy; private final ErrorResponseTransformStrategy errorResponseTransformStrategy;