Skip to content

Commit dadded2

Browse files
authored
Remove a bunch of blank lines in unsupported methods (#3267)
1 parent e00f274 commit dadded2

File tree

3 files changed

+0
-113
lines changed

3 files changed

+0
-113
lines changed

fdb-relational-api/src/main/java/com/apple/foundationdb/relational/api/RelationalPreparedStatement.java

-25
Original file line numberDiff line numberDiff line change
@@ -381,91 +381,78 @@ default void setBlob(int parameterIndex, InputStream inputStream, long length) t
381381
@Override
382382
@ExcludeFromJacocoGeneratedReport
383383
default void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
384-
385384
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
386385
}
387386

388387
@Override
389388
@ExcludeFromJacocoGeneratedReport
390389
default void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
391-
392390
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
393391
}
394392

395393
@Override
396394
@ExcludeFromJacocoGeneratedReport
397395
default void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException {
398-
399396
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
400397
}
401398

402399
@Override
403400
@ExcludeFromJacocoGeneratedReport
404401
default void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException {
405-
406402
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
407403
}
408404

409405
@Override
410406
@ExcludeFromJacocoGeneratedReport
411407
default void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException {
412-
413408
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
414409
}
415410

416411
@Override
417412
@ExcludeFromJacocoGeneratedReport
418413
default void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {
419-
420414
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
421415
}
422416

423417
@Override
424418
@ExcludeFromJacocoGeneratedReport
425419
default void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {
426-
427420
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
428421
}
429422

430423
@Override
431424
@ExcludeFromJacocoGeneratedReport
432425
default void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {
433-
434426
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
435427
}
436428

437429
@Override
438430
@ExcludeFromJacocoGeneratedReport
439431
default void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {
440-
441432
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
442433
}
443434

444435
@Override
445436
@ExcludeFromJacocoGeneratedReport
446437
default void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
447-
448438
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
449439
}
450440

451441
@Override
452442
@ExcludeFromJacocoGeneratedReport
453443
default void setClob(int parameterIndex, Reader reader) throws SQLException {
454-
455444
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
456445
}
457446

458447
@Override
459448
@ExcludeFromJacocoGeneratedReport
460449
default void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
461-
462450
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
463451
}
464452

465453
@Override
466454
@ExcludeFromJacocoGeneratedReport
467455
default void setNClob(int parameterIndex, Reader reader) throws SQLException {
468-
469456
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
470457
}
471458

@@ -490,14 +477,12 @@ default int getMaxFieldSize() throws SQLException {
490477
@Override
491478
@ExcludeFromJacocoGeneratedReport
492479
default void setMaxFieldSize(int max) throws SQLException {
493-
494480
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
495481
}
496482

497483
@Override
498484
@ExcludeFromJacocoGeneratedReport
499485
default void setEscapeProcessing(boolean enable) throws SQLException {
500-
501486
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
502487
}
503488

@@ -510,14 +495,12 @@ default int getQueryTimeout() throws SQLException {
510495
@Override
511496
@ExcludeFromJacocoGeneratedReport
512497
default void setQueryTimeout(int seconds) throws SQLException {
513-
514498
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
515499
}
516500

517501
@Override
518502
@ExcludeFromJacocoGeneratedReport
519503
default void cancel() throws SQLException {
520-
521504
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
522505
}
523506

@@ -531,14 +514,12 @@ default SQLWarning getWarnings() throws SQLException {
531514
@Override
532515
@ExcludeFromJacocoGeneratedReport
533516
default void clearWarnings() throws SQLException {
534-
535517
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
536518
}
537519

538520
@Override
539521
@ExcludeFromJacocoGeneratedReport
540522
default void setCursorName(String name) throws SQLException {
541-
542523
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
543524
}
544525

@@ -563,7 +544,6 @@ default boolean getMoreResults() throws SQLException {
563544
@Override
564545
@ExcludeFromJacocoGeneratedReport
565546
default void setFetchDirection(int direction) throws SQLException {
566-
567547
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
568548
}
569549

@@ -576,7 +556,6 @@ default int getFetchDirection() throws SQLException {
576556
@Override
577557
@ExcludeFromJacocoGeneratedReport
578558
default void setFetchSize(int rows) throws SQLException {
579-
580559
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
581560
}
582561

@@ -601,14 +580,12 @@ default int getResultSetType() throws SQLException {
601580
@Override
602581
@ExcludeFromJacocoGeneratedReport
603582
default void addBatch(String sql) throws SQLException {
604-
605583
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
606584
}
607585

608586
@Override
609587
@ExcludeFromJacocoGeneratedReport
610588
default void clearBatch() throws SQLException {
611-
612589
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
613590
}
614591

@@ -681,7 +658,6 @@ default int getResultSetHoldability() throws SQLException {
681658
@Override
682659
@ExcludeFromJacocoGeneratedReport
683660
default void setPoolable(boolean poolable) throws SQLException {
684-
685661
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
686662
}
687663

@@ -694,7 +670,6 @@ default boolean isPoolable() throws SQLException {
694670
@Override
695671
@ExcludeFromJacocoGeneratedReport
696672
default void closeOnCompletion() throws SQLException {
697-
698673
throw new SQLFeatureNotSupportedException("Not implemented in the relational layer", ErrorCode.UNSUPPORTED_OPERATION.getErrorCode());
699674
}
700675

0 commit comments

Comments
 (0)