commit | c9a412cfde920619588322fcae76ecd4e0704edb | [log] [tgz] |
---|---|---|
author | Matthias Wessendorf <matzew@apache.org> | Tue Apr 06 12:51:26 2010 +0000 |
committer | Matthias Wessendorf <matzew@apache.org> | Tue Apr 06 12:51:26 2010 +0000 |
tree | d1e7ca787c7a98899ce06b8de6399ae73c1caebb | |
parent | e7d28a60b9be784dd0f3ff995b59baf1e2c307f4 [diff] |
ported TRINIDAD-1751 to another branch
diff --git a/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java b/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java index aa0d69a..59f8342 100644 --- a/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java +++ b/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java
@@ -104,6 +104,12 @@ return; } + if (userAgent == null) + { + _populateUnknownAgentImpl(null, agent); + return; + } + //the useragent string for telnet and PDA design time will start with //OracleJDevMobile because in each of these cases we know we have an //exact match in the device repository for the agent name. This is