No effective change - code format

This commit is contained in:
rob bygrave
2018-07-18 21:49:19 +12:00
parent c8e32253a5
commit f0f7feb125
2 changed files with 9 additions and 11 deletions
@@ -117,8 +117,8 @@ public class DeployUtil {
throw new IllegalArgumentException("Class [" + enumType + "] is Not a Enum?");
}
try {
Class<? extends Enum<?>> enumClass = (Class<? extends Enum<?>>) enumType;
EnumType type = enumerated != null ? enumerated.value() : null;
Class<? extends Enum<?>> enumClass = (Class<? extends Enum<?>>) enumType;
EnumType type = enumerated != null ? enumerated.value() : null;
ScalarType<?> scalarType = typeManager.createEnumScalarType(enumClass, type);
prop.setScalarType(scalarType);
prop.setDbType(scalarType.getJdbcType());
@@ -1,19 +1,17 @@
package org.tests.types;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.*;
import java.nio.charset.StandardCharsets;
import org.junit.Test;
import io.ebean.BaseTestCase;
import io.ebean.Ebean;
import org.junit.Test;
public class TestEncryptedString extends BaseTestCase{
import java.nio.charset.StandardCharsets;
import static org.assertj.core.api.Assertions.assertThat;
public class TestEncryptedString extends BaseTestCase {
@Test
public void testName() throws Exception {
public void testName() {
PasswordStoreModel model = new PasswordStoreModel();
model.setEnc1(EncryptedString.encrypt("Hello"));