Skip to content

Commit

Permalink
Apply code formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiguim committed Feb 22, 2024
1 parent cb817c4 commit 03ca229
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
import com.databasepreservation.model.exception.UnknownTypeException;
import com.databasepreservation.model.structure.DatabaseStructure;
import com.databasepreservation.model.structure.SchemaStructure;
import com.databasepreservation.model.structure.type.*;
import com.databasepreservation.model.structure.type.SimpleTypeBinary;
import com.databasepreservation.model.structure.type.SimpleTypeDateTime;
import com.databasepreservation.model.structure.type.SimpleTypeNumericApproximate;
import com.databasepreservation.model.structure.type.SimpleTypeNumericExact;
import com.databasepreservation.model.structure.type.SimpleTypeString;
import com.databasepreservation.model.structure.type.Type;
import com.databasepreservation.modules.jdbc.in.JDBCDatatypeImporter;
import com.databasepreservation.modules.postgresql.PostgreSQLExceptionNormalizer;

Expand Down Expand Up @@ -157,7 +162,8 @@ protected Type getNumericType(String typeName, int columnSize, int decimalDigits
if (columnSize > 1000) {
type.setSql99TypeName("NUMERIC", NUMERIC_MAX_PRECISION_NUMBER, NUMERIC_MAX_SCALE_NUMBER);
type.setSql2008TypeName("NUMERIC", NUMERIC_MAX_PRECISION_NUMBER, NUMERIC_MAX_SCALE_NUMBER);
reporter.customMessage(this.getClass().getName(), "Could not find any precision nor scale on the data type. This will be converted from NUMERIC to NUMERIC(1000,1000).");
reporter.customMessage(this.getClass().getName(),
"Could not find any precision nor scale on the data type. This will be converted from NUMERIC to NUMERIC(1000,1000).");
} else if (decimalDigits > 0) {
type.setSql99TypeName("NUMERIC", columnSize, decimalDigits);
type.setSql2008TypeName("NUMERIC", columnSize, decimalDigits);
Expand Down

0 comments on commit 03ca229

Please sign in to comment.