Skip to content

Commit b0ff5b1

Browse files
committed
remove dupe method declarations
1 parent d20de1f commit b0ff5b1

File tree

2 files changed

+3
-42
lines changed

2 files changed

+3
-42
lines changed

hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnInformation.java

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -26,43 +26,4 @@ public interface ColumnInformation extends ColumnTypeInformation {
2626
* @return The column simple identifier.
2727
*/
2828
Identifier getColumnIdentifier();
29-
30-
/**
31-
* Is the column nullable.
32-
* <p>
33-
* The database is allowed to report unknown, hence the use of {@link Boolean}.
34-
*
35-
* @return nullability, if known
36-
*/
37-
Boolean getNullable();
38-
39-
/**
40-
* The JDBC type-code.
41-
*
42-
* @return JDBC type-code
43-
*/
44-
int getTypeCode();
45-
46-
/**
47-
* The database specific type name.
48-
*
49-
* @return Type name
50-
*/
51-
String getTypeName();
52-
53-
// todo : wrap these in org.hibernate.metamodel.spi.relational.Size ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54-
55-
/**
56-
* The column size (length).
57-
*
58-
* @return The column length
59-
*/
60-
int getColumnSize();
61-
62-
/**
63-
* The precision, for numeric types
64-
*
65-
* @return The numeric precision
66-
*/
67-
int getDecimalDigits();
6829
}

hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnTypeInformation.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public int getDecimalDigits() {
4545
};
4646

4747
/**
48-
* Is the column nullable.
48+
* Is the column nullable?
4949
* <p>
5050
* The database is allowed to report unknown, hence the use of {@link Boolean}.
5151
*
@@ -65,9 +65,9 @@ public int getDecimalDigits() {
6565
*
6666
* @return Type name
6767
*/
68-
public String getTypeName();
68+
String getTypeName();
6969

70-
// todo : wrap these in org.hibernate.metamodel.spi.relational.Size ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70+
// todo : wrap these in org.hibernate.metamodel.spi.relational.Size
7171

7272
/**
7373
* The column size (length).

0 commit comments

Comments
 (0)