From 29deacf3b9e943c4f5e764f21723a585ddf4176f Mon Sep 17 00:00:00 2001 From: eugenp Date: Mon, 25 Apr 2016 22:46:36 +0300 Subject: [PATCH] minor cleanup work --- core-java-8/.project | 17 ++++++++++ core-java/src/main/resources/fileToMove.txt | 0 .../java/io/JavaFileIntegrationTest.java | 6 ++-- guava18/.project | 17 ++++++++++ guava19/.project | 17 ++++++++++ jooq-spring/.classpath | 7 +---- jooq-spring/.project | 6 ++++ spring-boot/pom.xml | 2 +- spring-data-redis/.classpath | 31 +++++++++++++++++++ spring-data-redis/.project | 29 +++++++++++++++++ 10 files changed, 122 insertions(+), 10 deletions(-) create mode 100644 core-java-8/.project delete mode 100644 core-java/src/main/resources/fileToMove.txt create mode 100644 guava18/.project create mode 100644 guava19/.project create mode 100644 spring-data-redis/.classpath create mode 100644 spring-data-redis/.project diff --git a/core-java-8/.project b/core-java-8/.project new file mode 100644 index 0000000000..a23ff42ae0 --- /dev/null +++ b/core-java-8/.project @@ -0,0 +1,17 @@ + + + core-java8 + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/core-java/src/main/resources/fileToMove.txt b/core-java/src/main/resources/fileToMove.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaFileIntegrationTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaFileIntegrationTest.java index c139e34afb..24213ba869 100644 --- a/core-java/src/test/java/org/baeldung/java/io/JavaFileIntegrationTest.java +++ b/core-java/src/test/java/org/baeldung/java/io/JavaFileIntegrationTest.java @@ -1,5 +1,6 @@ package org.baeldung.java.io; +import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; import static org.junit.Assert.assertTrue; import java.io.File; @@ -57,9 +58,8 @@ public class JavaFileIntegrationTest { @Test public final void givenUsingJDK7Nio2_whenMovingFile_thenCorrect() throws IOException { - final Path fileToMovePath = Files.createFile(Paths.get("src/test/resources/fileToMove.txt")); - final Path dirPath = Paths.get("src/test/resources/"); - final Path targetPath = Files.createDirectory(dirPath); + final Path fileToMovePath = Files.createFile(Paths.get("src/test/resources/" + randomAlphabetic(5) + ".txt")); + final Path targetPath = Paths.get("src/main/resources/"); Files.move(fileToMovePath, targetPath.resolve(fileToMovePath.getFileName())); } diff --git a/guava18/.project b/guava18/.project new file mode 100644 index 0000000000..11dff52392 --- /dev/null +++ b/guava18/.project @@ -0,0 +1,17 @@ + + + guava18 + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/guava19/.project b/guava19/.project new file mode 100644 index 0000000000..b4c292ad2c --- /dev/null +++ b/guava19/.project @@ -0,0 +1,17 @@ + + + guava19 + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/jooq-spring/.classpath b/jooq-spring/.classpath index e43402fa4f..9ae7bca0fc 100644 --- a/jooq-spring/.classpath +++ b/jooq-spring/.classpath @@ -17,12 +17,7 @@ - - - - - - + diff --git a/jooq-spring/.project b/jooq-spring/.project index 3c3f3d602b..a291146b79 100644 --- a/jooq-spring/.project +++ b/jooq-spring/.project @@ -10,6 +10,11 @@ + + org.springframework.ide.eclipse.core.springbuilder + + + org.eclipse.m2e.core.maven2Builder @@ -17,6 +22,7 @@ + org.springframework.ide.eclipse.core.springnature org.eclipse.jdt.core.javanature org.eclipse.m2e.core.maven2Nature diff --git a/spring-boot/pom.xml b/spring-boot/pom.xml index bedab2391e..d0a66197bf 100644 --- a/spring-boot/pom.xml +++ b/spring-boot/pom.xml @@ -11,7 +11,7 @@ org.springframework.boot spring-boot-starter-parent - 1.2.6.RELEASE + 1.3.3.RELEASE diff --git a/spring-data-redis/.classpath b/spring-data-redis/.classpath new file mode 100644 index 0000000000..9ae7bca0fc --- /dev/null +++ b/spring-data-redis/.classpath @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/spring-data-redis/.project b/spring-data-redis/.project new file mode 100644 index 0000000000..244dfe15fb --- /dev/null +++ b/spring-data-redis/.project @@ -0,0 +1,29 @@ + + + spring-data-redis + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.springframework.ide.eclipse.core.springbuilder + + + + + + org.springframework.ide.eclipse.core.springnature + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + +