Junit5 (latest two commits) (#825)
* PDF to X * PDF to X * Remove created doc * Code fixes and cleanup for PDF module * Fix web.xml in spring-mvc-web-vs-initializer project * Rollback web.xml * Fixes to PDF article * Merge with main eugen branch * Junit 5 * Fix name of test and modifier
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
aeb8f7595c
commit
2d34971fcc
11
junit5/src/test/java/com/baeldung/StringUtils.java
Normal file
11
junit5/src/test/java/com/baeldung/StringUtils.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.baeldung;
|
||||
|
||||
public final class StringUtils {
|
||||
|
||||
public static Double convertToDouble(String str) {
|
||||
if (str == null) {
|
||||
return null;
|
||||
}
|
||||
return Double.valueOf(str);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user