mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
12984: Sharepoint: Build fix after recent change to SiteService and bumped module version to 1.1 12997: (RECORD ONLY - Already merged) Added home property to start scripts; updated readmes; updated installers 13140: Merged V3.0 to V3.1 13138 Merged V2.2 to V3.0 13133: Fix ETWOTWO-1078: wcm submit does not complete when using Oracle 13146: Merged V3.0 to V3.1 13052: CIFS throws a NullPointerException if a non-relative path is received for a folder search. JLAN-69 13147: Updated svn:mergeinfo 13151: (RECORD ONLY) Changed labs -> enterprise for distribution bundles 13157: Partial fix for ETHREEOH-1277 - fixes usage of Application.getMessage() ___________________________________________________________________ Modified: svn:mergeinfo Merged /alfresco/BRANCHES/V3.0:r13052,13138 Merged /alfresco/BRANCHES/V2.2:r13133 Merged /alfresco/BRANCHES/V3.1:r12984,12997,13140,13146-13147,13151,13154,13157 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -861,12 +861,21 @@ public class MessageServiceImpl implements MessageService
|
||||
{
|
||||
if ((line.length() > 0) && (line.charAt(0) != '#'))
|
||||
{
|
||||
String[] splits = line.split("=");
|
||||
if (splits.length != 2)
|
||||
String[] splits = line.split("=", 2);
|
||||
|
||||
if (splits.length == 2)
|
||||
{
|
||||
properties.put(splits[0], splits[1]);
|
||||
}
|
||||
else if (splits.length == 1)
|
||||
{
|
||||
properties.put(splits[0], "");
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Unexpected message properties file format: " + line);
|
||||
throw new AlfrescoRuntimeException("Unexpected message properties file format: " + line);
|
||||
}
|
||||
properties.put(splits[0], splits[1]);
|
||||
}
|
||||
line = br.readLine();
|
||||
}
|
||||
|
Reference in New Issue
Block a user