DATAJDBC-184 - Polishing.

Minor changes to JavaDoc and formatting.

Original pull request: #49.
This commit is contained in:
Jens Schauder
2018-03-23 12:47:38 +01:00
parent 924bb55394
commit b1115833ab

View File

@@ -19,8 +19,7 @@ import org.springframework.data.util.ParsingUtils;
/**
* The delimiter character implementation of {@link NamingStrategy} with no schema, table based on {@link Class} and
* column name based on {@link JdbcPersistentProperty}. The default delimiter is '_'.
* This indicate that the default behavior is snake case.
* column name based on {@link JdbcPersistentProperty}. The default delimiter is '_', resulting in snake case.
*
* @author Kazuki Shimizu
*/
@@ -30,8 +29,7 @@ public class DelimiterNamingStrategy extends DefaultNamingStrategy {
/**
* Construct a instance with '_' as delimiter.
* <p>
* This indicate that default is snake case.
* This results in a snake case naming strategy.
*/
public DelimiterNamingStrategy() {
this("_");
@@ -69,6 +67,4 @@ public class DelimiterNamingStrategy extends DefaultNamingStrategy {
public String getKeyColumn(JdbcPersistentProperty property) {
return getReverseColumnName(property) + delimiter + "key";
}
}