Skip to content
Permalink
Browse files

style: remove extra empty lines (#1454)

  • Loading branch information...
kazachka authored and vlsi committed Apr 19, 2019
1 parent fac5e09 commit cb466d1bf74cb18c6444f099862b7e43329e93bf
Showing with 1 addition and 159 deletions.
  1. +1 −0 pgjdbc/src/main/checkstyle/checks.xml
  2. +0 −1 pgjdbc/src/main/java/org/postgresql/copy/PGCopyInputStream.java
  3. +0 −1 pgjdbc/src/main/java/org/postgresql/core/ParameterList.java
  4. +0 −1 pgjdbc/src/main/java/org/postgresql/core/Parser.java
  5. +0 −2 pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
  6. +0 −1 pgjdbc/src/main/java/org/postgresql/core/v3/SimpleParameterList.java
  7. +0 −1 pgjdbc/src/main/java/org/postgresql/core/v3/replication/V3ReplicationProtocol.java
  8. +0 −1 pgjdbc/src/main/java/org/postgresql/gss/GssAction.java
  9. +0 −1 pgjdbc/src/main/java/org/postgresql/gss/MakeGSS.java
  10. +0 −1 pgjdbc/src/main/java/org/postgresql/jdbc/AbstractBlobClob.java
  11. +0 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgArray.java
  12. +0 −2 pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
  13. +0 −3 pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java
  14. +0 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java
  15. +0 −83 pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
  16. +0 −3 pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSetMetaData.java
  17. +0 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgSQLXML.java
  18. +0 −1 pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
  19. +0 −1 pgjdbc/src/main/java/org/postgresql/jdbc/TypeInfoCache.java
  20. +0 −1 pgjdbc/src/main/java/org/postgresql/jre8/sasl/ScramAuthenticator.java
  21. +0 −1 pgjdbc/src/main/java/org/postgresql/replication/fluent/logical/LogicalStreamBuilder.java
  22. +0 −3 pgjdbc/src/main/java/org/postgresql/util/Base64.java
  23. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PGTime.java
  24. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PGTimestamp.java
  25. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PGbytea.java
  26. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PGmoney.java
  27. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PGobject.java
  28. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PGtokenizer.java
  29. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PSQLException.java
  30. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PSQLState.java
  31. +0 −1 pgjdbc/src/main/java/org/postgresql/util/PSQLWarning.java
  32. +0 −1 pgjdbc/src/main/java/org/postgresql/util/ServerErrorMessage.java
  33. +0 −1 pgjdbc/src/test/java/org/postgresql/core/ReturningParserTest.java
  34. +0 −1 pgjdbc/src/test/java/org/postgresql/replication/LogSequenceNumberTest.java
  35. +0 −2 pgjdbc/src/test/java/org/postgresql/replication/ReplicationSlotTest.java
  36. +0 −2 pgjdbc/src/test/java/org/postgresql/test/jdbc2/AutoRollbackTestSuite.java
  37. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/BlobTest.java
  38. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/CallableStmtTest.java
  39. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/ConnectTimeoutTest.java
  40. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
  41. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/DateStyleTest.java
  42. +0 −2 pgjdbc/src/test/java/org/postgresql/test/jdbc2/IntervalTest.java
  43. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/LoginTimeoutTest.java
  44. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/PGPropertyTest.java
  45. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/PreparedStatementTest.java
  46. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/RefCursorTest.java
  47. +0 −2 pgjdbc/src/test/java/org/postgresql/test/jdbc2/ReplaceProcessingTest.java
  48. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/ResultSetMetaDataTest.java
  49. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java
  50. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java
  51. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java
  52. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimezoneTest.java
  53. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc2/UpdateableResultTest.java
  54. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc3/Jdbc3CallableStatementTest.java
  55. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc4/XmlTest.java
  56. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc42/CustomizeDefaultFetchSizeTest.java
  57. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc42/GetObject310InfinityTests.java
  58. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc42/GetObject310Test.java
  59. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc42/Jdbc42CallableStatementTest.java
  60. +0 −1 pgjdbc/src/test/java/org/postgresql/test/jdbc42/PreparedStatementTest.java
  61. +0 −1 pgjdbc/src/test/java/org/postgresql/test/ssl/SslTest.java
  62. +0 −1 pgjdbc/src/test/java/org/postgresql/test/util/LruCacheTest.java
  63. +0 −3 pgjdbc/src/test/java/org/postgresql/test/xa/XADataSourceTest.java
  64. +0 −1 pgjdbc/src/test/java/org/postgresql/util/PSQLWarningTest.java
@@ -100,6 +100,7 @@
<module name="RedundantModifier"/>
<module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="true"/>
<property name="allowMultipleEmptyLines" value="false"/>
</module>
<module name="SeparatorWrap">
<property name="tokens" value="DOT"/>
@@ -68,7 +68,6 @@ private void checkClosed() throws IOException {
}
}


public int available() throws IOException {
checkClosed();
return (buf != null ? len - at : 0);
@@ -24,7 +24,6 @@
*/
public interface ParameterList {


void registerOutParameter(int index, int sqlType) throws SQLException;

/**
@@ -1256,7 +1256,6 @@ private static int parseSql(char[] sql, int i, StringBuilder newsql, boolean sto
return i;
}


private static int findOpenBrace(char[] sql, int i) {
int posArgs = i;
while (posArgs < sql.length && sql[posArgs] != '(') {
@@ -2765,13 +2765,11 @@ public boolean getIntegerDateTimes() {
SqlCommand.createStatementTypeInfo(SqlCommandType.BLANK)
), null, false);


private final SimpleQuery autoSaveQuery =
new SimpleQuery(
new NativeQuery("SAVEPOINT PGJDBC_AUTOSAVE", new int[0], false, SqlCommand.BLANK),
null, false);


private final SimpleQuery releaseAutoSave =
new SimpleQuery(
new NativeQuery("RELEASE SAVEPOINT PGJDBC_AUTOSAVE", new int[0], false, SqlCommand.BLANK),
@@ -388,7 +388,6 @@ void writeV3Value(int index, PGStream pgStream) throws IOException {
pgStream.send(encoded[index]);
}


public ParameterList copy() {
SimpleParameterList newCopy = new SimpleParameterList(paramValues.length, transferModeRegistry);
System.arraycopy(paramValues, 0, newCopy.paramValues, 0, paramValues.length);
@@ -137,5 +137,4 @@ private void configureSocketTimeout(CommonOptions options) throws PSQLException
}
}


}
@@ -33,7 +33,6 @@
private final boolean useSpnego;
private final GSSCredential clientCredentials;


GssAction(PGStream pgStream, GSSCredential clientCredentials, String host, String user,
String kerberosServerName, boolean useSpnego) {
this.pgStream = pgStream;
@@ -23,7 +23,6 @@
import javax.security.auth.Subject;
import javax.security.auth.login.LoginContext;


public class MakeGSS {

private static final Logger LOGGER = Logger.getLogger(MakeGSS.class.getName());
@@ -109,7 +109,6 @@ public synchronized long length() throws SQLException {
return getLo(false).read(length);
}


public synchronized InputStream getBinaryStream() throws SQLException {
checkFreed();
LargeObject subLO = getLo(false).copy();
@@ -267,7 +267,6 @@ private int storeValues(final Object[] arr, int elementOid, final int[] dims, in
return pos;
}


private ResultSet readBinaryResultSet(int index, int count) throws SQLException {
int dimensions = ByteConverter.int4(fieldBytes, 0);
// int flags = ByteConverter.int4(fieldBytes, 4); // bit 0: 0=no-nulls, 1=has-nulls
@@ -696,7 +696,6 @@ public synchronized void clearWarnings() throws SQLException {
firstWarning = null;
}


@Override
public void setReadOnly(boolean readOnly) throws SQLException {
checkClosed();
@@ -785,7 +784,6 @@ protected void checkClosed() throws SQLException {
}
}


@Override
public void rollback() throws SQLException {
checkClosed();
@@ -91,7 +91,6 @@ protected int getMaxNameLength() throws SQLException {
return nameDataLength - 1;
}


public boolean allProceduresAreCallable() throws SQLException {
return true; // For now...
}
@@ -2415,7 +2414,6 @@ public boolean supportsResultSetType(int type) throws SQLException {
return type != ResultSet.TYPE_SCROLL_SENSITIVE;
}


public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQLException {
// These combinations are not supported!
if (type == ResultSet.TYPE_SCROLL_SENSITIVE) {
@@ -2544,7 +2542,6 @@ public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePa
return createMetaDataStatement().executeQuery(sql);
}


@Override
public Connection getConnection() throws SQLException {
return connection;
@@ -1401,7 +1401,6 @@ public void setObject(int parameterIndex, Object x, java.sql.SQLType targetSqlTy
}
//#endif


public void setRowId(int parameterIndex, RowId x) throws SQLException {
throw Driver.notImplemented(this.getClass(), "setRowId(int, RowId)");
}

0 comments on commit cb466d1

Please sign in to comment.
You can’t perform that action at this time.