Java 多行字符串
This commit is contained in:
parent
b90cdd3306
commit
f2c3c2bf0f
|
@ -18,6 +18,7 @@
|
|||
<module name="core-java-numbers" />
|
||||
<module name="discourse" />
|
||||
<module name="core-java-strings" />
|
||||
<module name="core-java" />
|
||||
<module name="core-java-11" />
|
||||
<module name="core-java-collections-list-2" />
|
||||
<module name="core-java-collections" />
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
<file url="file://$PROJECT_DIR$/core-java-modules/core-java-streams/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/core-java-modules/core-java-strings/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/core-java-modules/core-java-strings/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/core-java-modules/core-java/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/core-java-modules/core-java/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/core-java-modules/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/core-java-modules/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/persistence-modules/activejdbc/src/main/java" charset="UTF-8" />
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
- [Java Localization – Formatting Messages](https://www.baeldung.com/java-localization-messages-formatting)
|
||||
- [Java – Generate Random String](https://www.baeldung.com/java-random-string)
|
||||
- [Java String Interview Questions and Answers](https://www.baeldung.com/java-string-interview-questions)
|
||||
- [Java Multi-line String](https://www.baeldung.com/java-multiline-string)
|
||||
- [Java 多行字符串](https://www.ossez.com/t/java/14049)
|
||||
- [Java 中的 String Pool 简介](https://www.ossez.com/t/java-string-pool/14017)
|
||||
- [Java “constant string too long” 编译错误](https://www.ossez.com/t/java-constant-string-too-long/14048)
|
||||
- [Java 对象如何安全的 toString](https://www.ossez.com/t/java-tostring/14000)
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
package com.baeldung.spring.data.persistence.repository;
|
||||
|
||||
public interface IFooService {
|
||||
Foo create(Foo foo);
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.spring.data.persistence.repository;
|
||||
package com.baeldung.spring.data.persistence.saveperformance.repository;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.spring.data.persistence.repository;
|
||||
package com.baeldung.spring.data.persistence.saveperformance.repository;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.spring.data.persistence.repository;
|
||||
package com.baeldung.spring.data.persistence.saveperformance.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
|
@ -0,0 +1,5 @@
|
|||
package com.baeldung.spring.data.persistence.saveperformance.repository;
|
||||
|
||||
public interface IFooService {
|
||||
Foo create(Foo foo);
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.spring.data.persistence.repository;
|
||||
package com.baeldung.spring.data.persistence.saveperformance.repository;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
@ -1,5 +1,8 @@
|
|||
package com.baeldung.spring.data.persistence.repository;
|
||||
|
||||
import com.baeldung.spring.data.persistence.saveperformance.repository.Foo;
|
||||
import com.baeldung.spring.data.persistence.saveperformance.repository.IFooService;
|
||||
import com.baeldung.spring.data.persistence.saveperformance.repository.PersistenceConfig;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
Loading…
Reference in New Issue