Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved.
*/
package net.snowflake.client;

import static org.hamcrest.MatcherAssert.assertThat;
Expand Down
3 changes: 0 additions & 3 deletions FIPS/src/test/java/net/snowflake/client/DontRunOnGCP.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2024 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client;

import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2024 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client;

import java.lang.annotation.ElementType;
Expand Down
3 changes: 0 additions & 3 deletions FIPS/src/test/java/net/snowflake/client/TestUtil.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved.
*/
package net.snowflake.client;

import static org.hamcrest.CoreMatchers.is;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2024 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.category;

import org.junit.platform.suite.api.IncludeTags;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2020 Snowflake Computing Inc. All right reserved.
*/
package net.snowflake.client.jdbc;

import static org.junit.jupiter.api.Assertions.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package com.snowflake.client.jdbc;

import java.sql.Driver;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.config;

import java.util.Properties;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/ArrowSqlInput.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.mapSFExceptionToSQLException;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/AssertUtil.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
Comment thread
sfc-gh-astachowski marked this conversation as resolved.
*/

package net.snowflake.client.core;

import net.snowflake.client.jdbc.ErrorCode;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/BaseSqlInput.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.mapSFExceptionToSQLException;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/BasicEvent.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.systemGetProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2024 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.core;

@SnowflakeJdbcInternalApi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import net.snowflake.client.jdbc.SnowflakeResultChunk;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All right reserved.
*/
package net.snowflake.client.core;

import java.sql.Types;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/Constants.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.systemGetProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import com.google.common.base.Strings;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.core;

import java.util.TimeZone;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.core;

/** Metrics related to chunk downloader performance */
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/Event.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import com.google.common.base.Preconditions;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/EventHandler.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.systemGetProperty;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/EventUtil.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.systemGetProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2018-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.core;

import com.google.common.base.Strings;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.isWindows;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import java.io.IOException;
import java.nio.file.Path;
import org.apache.tika.Tika;

/**
* Use Tika to detect the mime type of files
*
* @author jhuang
*/
/** Use Tika to detect the mime type of files */
public class FileTypeDetector extends java.nio.file.spi.FileTypeDetector {
private final Tika tika = new Tika();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2021 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import com.google.common.base.Strings;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/HttpProtocol.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2024 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

public enum HttpProtocol {
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/HttpUtil.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2022 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.systemGetProperty;
Expand Down
7 changes: 0 additions & 7 deletions src/main/java/net/snowflake/client/core/IncidentUtil.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import com.fasterxml.jackson.core.JsonEncoding;
Expand All @@ -25,9 +21,6 @@
import net.snowflake.client.log.SFLogger;
import net.snowflake.client.log.SFLoggerFactory;

/**
* @author jrosen + mkeller
*/
public class IncidentUtil {
private static final SFLogger logger = SFLoggerFactory.getLogger(IncidentUtil.class);

Expand Down
3 changes: 0 additions & 3 deletions src/main/java/net/snowflake/client/core/JsonSqlInput.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All right reserved.
*/
package net.snowflake.client.core;

import static net.snowflake.client.core.SFBaseResultSet.OBJECT_MAPPER;
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/net/snowflake/client/core/JsonSqlOutput.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All right reserved.
*/
package net.snowflake.client.core;

import static net.snowflake.client.core.FieldSchemaCreator.buildSchemaTypeAndNameOnly;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2018-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.core;

import java.security.cert.CertificateException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/*
* Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import net.snowflake.client.jdbc.BindingParameterMetadata;

/** This class represents a binding object passed to server side Created by hyu on 6/15/17. */
/** This class represents a binding object passed to server side. */
public class ParameterBindingDTO {
/** Type of binding */
private String type;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2022 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import com.fasterxml.jackson.databind.JsonNode;
Expand Down
10 changes: 1 addition & 9 deletions src/main/java/net/snowflake/client/core/QueryExecDTO.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import java.util.Map;

/**
* Body of a query request
*
* <p>Created by hyu on 6/30/17.
*/
/** Body of a query request */
public class QueryExecDTO {
private String sqlText;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.core;

import java.util.Optional;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/ResultUtil.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import com.fasterxml.jackson.databind.JsonNode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.core;

import static net.snowflake.client.core.StmtUtil.eventHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.getJsonNodeStringValue;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/snowflake/client/core/SFBaseSession.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2022 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import static net.snowflake.client.jdbc.SnowflakeUtil.systemGetEnv;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2021 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import java.sql.SQLException;
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/net/snowflake/client/core/SFException.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import net.snowflake.client.jdbc.ErrorCode;
import net.snowflake.client.log.SFLogger;
import net.snowflake.client.log.SFLoggerFactory;
import net.snowflake.common.core.ResourceBundleManager;

/** Created by jhuang on 1/5/16. */
public class SFException extends Throwable {
private static final SFLogger logger = SFLoggerFactory.getLogger(SFException.class);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import java.sql.SQLException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/

package net.snowflake.client.core;

import com.fasterxml.jackson.core.JsonProcessingException;
Expand Down
Loading