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
9b0e44c6
Commit
9b0e44c6
authored
14 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
LMS-1957 add convenience method
SVN: 19382
parent
fd76e052
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/StringTableCell.java
+8
-0
8 additions, 0 deletions
...isd/openbis/generic/shared/basic/dto/StringTableCell.java
with
8 additions
and
0 deletions
openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/StringTableCell.java
+
8
−
0
View file @
9b0e44c6
...
...
@@ -16,6 +16,8 @@
package
ch.systemsx.cisd.openbis.generic.shared.basic.dto
;
import
org.apache.commons.lang.StringUtils
;
/**
* Table cell wrapping a string.
...
...
@@ -25,6 +27,12 @@ package ch.systemsx.cisd.openbis.generic.shared.basic.dto;
public
class
StringTableCell
implements
ISerializableComparable
{
private
static
final
long
serialVersionUID
=
ServiceVersionHolder
.
VERSION
;
private
static
final
StringTableCell
EMPTY_CELL
=
new
StringTableCell
(
""
);
public
static
StringTableCell
wrap
(
String
stringOrNull
)
{
return
StringUtils
.
isBlank
(
stringOrNull
)
?
EMPTY_CELL
:
new
StringTableCell
(
stringOrNull
);
}
private
String
string
;
...
...
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