felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r1770788 - /felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java
Date Tue, 22 Nov 2016 01:57:33 GMT
Author: bimargulies
Date: Tue Nov 22 01:57:33 2016
New Revision: 1770788

URL: http://svn.apache.org/viewvc?rev=1770788&view=rev
Log:
FELIX-5422: handle another exception while retrying date formats.

Modified:
    felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java

Modified: felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java?rev=1770788&r1=1770787&r2=1770788&view=diff
==============================================================================
--- felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java
(original)
+++ felix/trunk/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java
Tue Nov 22 01:57:33 2016
@@ -832,6 +832,8 @@ public class HttpServletRequestImpl impl
                 return sdf.parse(headerValue).getTime();
             } catch (ParseException e) {
                 //
+            } catch (NumberFormatException nfe) {
+                //
             }
         }
         // if none of them work.



Mime
View raw message