Skip to content

Commit 64f0428

Browse files
Merge remote-tracking branch 'origin/master'
2 parents 4b0fbb8 + 9f9dc87 commit 64f0428

File tree

396 files changed

+3599
-1900
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

396 files changed

+3599
-1900
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ spring-openid/src/main/resources/application.properties
3131
.recommenders/
3232
/spring-hibernate4/nbproject/
3333
spring-security-openid/src/main/resources/application.properties
34+
35+
spring-all/*.log

algorithms/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
- [Ant Colony Optimization](http://www.baeldung.com/java-ant-colony-optimization)
66
- [Validating Input With Finite Automata in Java](http://www.baeldung.com/finite-automata-java)
77
- [Introduction to Jenetics Library](http://www.baeldung.com/jenetics)
8+
- [Check If a Number Is Prime in Java](http://www.baeldung.com/java-prime-numbers)

apache-cxf/cxf-aegis/src/test/java/com/baeldung/cxf/aegis/BaeldungTest.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
import static org.junit.Assert.assertEquals;
44
import static org.junit.Assert.assertNull;
55

6+
import org.junit.After;
67
import org.junit.Test;
78

9+
import java.io.File;
810
import java.io.FileInputStream;
911
import java.io.FileOutputStream;
1012
import java.lang.reflect.Type;
@@ -90,4 +92,12 @@ private CourseRepo unmarshalCourseRepo() throws Exception {
9092
xmlReader.close();
9193
return courseRepo;
9294
}
95+
96+
@After
97+
public void cleanup(){
98+
File testFile = new File(fileName);
99+
if (testFile.exists()) {
100+
testFile.delete();
101+
}
102+
}
93103
}

apache-cxf/cxf-jaxrs-implementation/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@
5454
<groupId>org.apache.httpcomponents</groupId>
5555
<artifactId>httpclient</artifactId>
5656
<version>${httpclient.version}</version>
57+
<exclusions>
58+
<exclusion>
59+
<artifactId>commons-logging</artifactId>
60+
<groupId>commons-logging</groupId>
61+
</exclusion>
62+
</exclusions>
5763
</dependency>
5864
</dependencies>
5965
</project>

apache-cxf/cxf-spring/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
<groupId>org.springframework</groupId>
2525
<artifactId>spring-context</artifactId>
2626
<version>${spring.version}</version>
27+
<exclusions>
28+
<exclusion>
29+
<artifactId>commons-logging</artifactId>
30+
<groupId>commons-logging</groupId>
31+
</exclusion>
32+
</exclusions>
2733
</dependency>
2834
<dependency>
2935
<groupId>org.springframework</groupId>

apache-fop/pom.xml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
<version>${org.slf4j.version}</version>
2929
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
3030
</dependency>
31-
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
32-
<groupId>org.slf4j</groupId>
33-
<artifactId>log4j-over-slf4j</artifactId>
34-
<version>${org.slf4j.version}</version>
35-
</dependency>
3631

3732
<!-- test scoped -->
3833

@@ -78,6 +73,10 @@
7873
<groupId>org.apache.avalon.framework</groupId>
7974
<artifactId>avalon-framework-impl</artifactId>
8075
</exclusion>
76+
<exclusion>
77+
<artifactId>commons-logging</artifactId>
78+
<groupId>commons-logging</groupId>
79+
</exclusion>
8180
</exclusions>
8281
</dependency>
8382

@@ -90,6 +89,12 @@
9089
<groupId>avalon-framework</groupId>
9190
<artifactId>avalon-framework-impl</artifactId>
9291
<version>${avalon-framework.version}</version>
92+
<exclusions>
93+
<exclusion>
94+
<artifactId>commons-logging</artifactId>
95+
<groupId>commons-logging</groupId>
96+
</exclusion>
97+
</exclusions>
9398
</dependency>
9499

95100
<dependency>

apache-poi/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
<groupId>org.jxls</groupId>
4343
<artifactId>jxls-jexcel</artifactId>
4444
<version>${jexcel.version}</version>
45+
<exclusions>
46+
<exclusion>
47+
<artifactId>commons-logging</artifactId>
48+
<groupId>commons-logging</groupId>
49+
</exclusion>
50+
</exclusions>
4551
</dependency>
4652
</dependencies>
4753
</project>

apache-poi/src/test/java/com/baeldung/jexcel/JExcelTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import org.junit.Test;
2121
import org.junit.Before;
22+
import org.junit.After;
2223

2324
public class JExcelTest {
2425

@@ -53,4 +54,11 @@ public void whenParsingJExcelFile_thenCorrect() throws IOException, BiffExceptio
5354
.get(1));
5455
}
5556

57+
@After
58+
public void cleanup(){
59+
File testFile = new File(fileLocation);
60+
if (testFile.exists()) {
61+
testFile.delete();
62+
}
63+
}
5664
}

apache-poi/src/test/java/com/baeldung/poi/excel/ExcelTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import org.junit.Test;
1818
import org.junit.Before;
19+
import org.junit.After;
1920

2021
public class ExcelTest {
2122

@@ -50,4 +51,11 @@ public void whenParsingPOIExcelFile_thenCorrect() throws IOException {
5051
.get(1));
5152
}
5253

54+
@After
55+
public void cleanup(){
56+
File testFile = new File(fileLocation);
57+
if (testFile.exists()) {
58+
testFile.delete();
59+
}
60+
}
5361
}

apache-poi/temp.xls

-13.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)