Skip to content
Snippets Groups Projects
Commit 75be6697 authored by ribeaudc's avatar ribeaudc
Browse files

change: - Put content start/end value in public constants.

SVN: 6243
parent ea22edc4
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,10 @@ import org.apache.commons.lang.builder.ToStringStyle; ...@@ -28,6 +28,10 @@ import org.apache.commons.lang.builder.ToStringStyle;
*/ */
public class ModifiedShortPrefixToStringStyle extends ToStringStyle public class ModifiedShortPrefixToStringStyle extends ToStringStyle
{ {
public static final String CONTENT_END = "}";
public static final String CONTENT_START = "{";
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** The one and only one instance. */ /** The one and only one instance. */
...@@ -38,8 +42,8 @@ public class ModifiedShortPrefixToStringStyle extends ToStringStyle ...@@ -38,8 +42,8 @@ public class ModifiedShortPrefixToStringStyle extends ToStringStyle
{ {
this.setUseShortClassName(true); this.setUseShortClassName(true);
this.setUseIdentityHashCode(false); this.setUseIdentityHashCode(false);
setContentStart("{"); setContentStart(CONTENT_START);
setContentEnd("}"); setContentEnd(CONTENT_END);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment