Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/BufferUtil.java @ 1055:e6ca3cb52837
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 08 Nov 2016 01:08:20 -0700 |
parents | 87275900646e |
children | 7d872cc72ec2 |
comparison
equal
deleted
inserted
replaced
1054:87275900646e | 1055:e6ca3cb52837 |
---|---|
68 break; | 68 break; |
69 } | 69 } |
70 | 70 |
71 if (started) | 71 if (started) |
72 return minus ? (-val) : val; | 72 return minus ? (-val) : val; |
73 throw new NumberFormatException(buffer.toString()); | 73 throw new NumberFormatException(getString(buffer.duplicate())); |
74 } | 74 } |
75 | 75 |
76 /** | 76 /** |
77 * Convert string to an long. | 77 * Convert string to an long. |
78 * Parses up to the first non-numeric character. If no number is found an | 78 * Parses up to the first non-numeric character. If no number is found an |