mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- Fix for PHP/Linux issue with web services
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -28,7 +28,11 @@ public class QueryLanguageEnum implements java.io.Serializable {
|
||||
throws java.lang.IllegalArgumentException {
|
||||
QueryLanguageEnum enumeration = (QueryLanguageEnum)
|
||||
_table_.get(value);
|
||||
if (enumeration==null) throw new java.lang.IllegalArgumentException();
|
||||
if (enumeration==null)
|
||||
{
|
||||
enumeration = lucene;
|
||||
//throw new java.lang.IllegalArgumentException();
|
||||
}
|
||||
return enumeration;
|
||||
}
|
||||
public static QueryLanguageEnum fromString(java.lang.String value)
|
||||
|
@@ -34,7 +34,11 @@ public class StoreEnum implements java.io.Serializable {
|
||||
throws java.lang.IllegalArgumentException {
|
||||
StoreEnum enumeration = (StoreEnum)
|
||||
_table_.get(value);
|
||||
if (enumeration==null) throw new java.lang.IllegalArgumentException();
|
||||
if (enumeration==null)
|
||||
{
|
||||
enumeration = workspace;
|
||||
//throw new java.lang.IllegalArgumentException();
|
||||
}
|
||||
return enumeration;
|
||||
}
|
||||
public static StoreEnum fromString(java.lang.String value)
|
||||
|
Reference in New Issue
Block a user