toString
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package org.springframework.binding.mapping;
|
||||
|
||||
import org.springframework.core.style.ToStringCreator;
|
||||
|
||||
/**
|
||||
* A single mapping result within a {@link MappingResults} transaction.
|
||||
*/
|
||||
@@ -33,4 +35,8 @@ public class MappingResult {
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return new ToStringCreator(this).append("mapping", mapping).append("result", result).toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user