修改编译错误并且根据 POM 依赖的提示提升版本
This commit is contained in:
parent
b0b5c1ea5a
commit
4975444217
|
@ -1,7 +1,7 @@
|
|||
package com.ossez.internationalization;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.text.DateFormatSymbols;
|
||||
|
@ -14,7 +14,7 @@ import java.util.TimeZone;
|
|||
|
||||
public class DateFormatUnitTest {
|
||||
|
||||
@Tes t
|
||||
@Test
|
||||
public void givenGregorianCalendar_whenLocaleSpecificDateInstance_givenLanguageSpecificMonths() {
|
||||
GregorianCalendar gregorianCalendar = new GregorianCalendar(2018, 1, 1, 10, 15, 20);
|
||||
Date date = gregorianCalendar.getTime();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package com.ossez.util;
|
||||
|
||||
//import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import java.time.Clock;
|
||||
import java.time.Instant;
|
||||
|
|
12
pom.xml
12
pom.xml
|
@ -140,8 +140,8 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
<artifactId>velocity</artifactId>
|
||||
<version>1.7</version>
|
||||
<artifactId>velocity-engine-core</artifactId>
|
||||
<version>2.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>antlr</groupId>
|
||||
|
@ -161,9 +161,9 @@
|
|||
<version>1.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
<artifactId>velocity-tools</artifactId>
|
||||
<version>2.0</version>
|
||||
<groupId>org.apache.velocity.tools</groupId>
|
||||
<artifactId>velocity-tools-generic</artifactId>
|
||||
<version>3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jaxen</groupId>
|
||||
|
@ -253,7 +253,7 @@
|
|||
<dependency>
|
||||
<groupId>net.lingala.zip4j</groupId>
|
||||
<artifactId>zip4j</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<version>2.10.0</version>
|
||||
</dependency>
|
||||
<!-- RETS -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue