From e6eb4a1fd14b150f074ca8e7c22855cc5d9b993b Mon Sep 17 00:00:00 2001 From: buczekp <buczekp> Date: Thu, 13 Jan 2011 14:43:18 +0000 Subject: [PATCH] [LMS-1949] minor: extracted constant SVN: 19417 --- .../client/web/client/application/ManagedPropertySection.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ManagedPropertySection.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ManagedPropertySection.java index c8cc1d6e6a1..741b70ba0f5 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ManagedPropertySection.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ManagedPropertySection.java @@ -36,6 +36,8 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.ManagedUiDescription; */ public class ManagedPropertySection extends DisposableTabContent { + private static String ID_PREFIX = "managed_property_section_"; + private final ManagedUiDescription uiDescription; public ManagedPropertySection(final String header, IViewContext<?> viewContext, @@ -53,7 +55,7 @@ public class ManagedPropertySection extends DisposableTabContent public String createID() { - return "managed_property_section_" + Format.hyphenize(header); + return ID_PREFIX + Format.hyphenize(header); } }); } -- GitLab