File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-boot-test/src/main/java/org/springframework/boot/test/mock/mockito Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2121import java .util .LinkedHashSet ;
2222import java .util .Set ;
2323
24- import org .apache .commons .lang3 .builder .ToStringBuilder ;
2524import org .mockito .Answers ;
2625import org .mockito .MockSettings ;
2726import org .mockito .Mockito ;
2827
28+ import org .springframework .core .style .ToStringCreator ;
2929import org .springframework .util .Assert ;
3030import org .springframework .util .ObjectUtils ;
3131import org .springframework .util .StringUtils ;
@@ -155,11 +155,11 @@ public boolean equals(Object obj) {
155155
156156 @ Override
157157 public String toString () {
158- return new ToStringBuilder (this ).append ("name" , this .name )
158+ return new ToStringCreator (this ).append ("name" , this .name )
159159 .append ("classToMock" , this .classToMock )
160160 .append ("extraInterfaces" , this .extraInterfaces )
161161 .append ("answer" , this .answer ).append ("serializable" , this .serializable )
162- .append ("reset" , this .reset ).build ();
162+ .append ("reset" , this .reset ).toString ();
163163 }
164164
165165 public <T > T createMock () {
You can’t perform that action at this time.
0 commit comments