Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
75be6697
Commit
75be6697
authored
16 years ago
by
ribeaudc
Browse files
Options
Downloads
Patches
Plain Diff
change: - Put content start/end value in public constants.
SVN: 6243
parent
ea22edc4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/source/java/ch/systemsx/cisd/common/utilities/ModifiedShortPrefixToStringStyle.java
+6
-2
6 additions, 2 deletions
...sd/common/utilities/ModifiedShortPrefixToStringStyle.java
with
6 additions
and
2 deletions
common/source/java/ch/systemsx/cisd/common/utilities/ModifiedShortPrefixToStringStyle.java
+
6
−
2
View file @
75be6697
...
@@ -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
);
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment