Commit Graph

2505 Commits

Author SHA1 Message Date
Craig P. Motlin
ab61090572 Simplify redundant 'if' statements. 2011-11-12 13:23:40 -05:00
Craig P. Motlin
f0520dad20 Remove unnecessary calls to 'super()'. 2011-11-12 13:19:37 -05:00
Craig P. Motlin
9b9ee79f27 Remove unnecessary 'return' statements. 2011-11-12 13:15:33 -05:00
Craig P. Motlin
d073e1d14d Replace constant array creation expression with array initializer. 2011-11-12 13:14:39 -05:00
Craig P. Motlin
e84571a5f2 Remove unnecessary semicolons. 2011-11-12 13:14:16 -05:00
Craig P. Motlin
f9a19517d5 Remove redundant type arguments. 2011-11-12 13:09:12 -05:00
Craig P. Motlin
41d4884194 Remove redundant array creations. 2011-11-12 13:08:00 -05:00
Norman Maurer
0b3a685f95 Merge pull request #51 from motlin/master
Fixes from static-analysis tools.
2011-11-12 01:03:02 -08:00
Craig P. Motlin
f641e25735 Remove redundant 'final' from static methods. 2011-11-11 07:53:16 -05:00
Craig P. Motlin
f78a60df7d Remove redundant 'final' method in 'final' class. 2011-11-11 07:53:14 -05:00
Craig P. Motlin
1213dc5ace Remove unnecessary enum modifier. 2011-11-11 07:53:12 -05:00
Craig P. Motlin
1c698494bb Make inner classes static where possible. 2011-11-11 07:53:11 -05:00
Craig P. Motlin
6f857d271c Make fields static where possible. 2011-11-11 07:53:09 -05:00
Craig P. Motlin
f84a9e1c52 Add missing @Override annotations. 2011-11-11 07:53:08 -05:00
norman
1a6f8369ea Revert changes of pull request #45 2011-11-11 08:51:00 +01:00
norman
d760b4cffe Remove empty method which I forgot to remove before 2011-11-10 09:16:34 +01:00
norman
3856f99c03 Make failImmediatelyOnTooLongFrame configurable via a constructor 2011-11-10 09:15:16 +01:00
Norman Maurer
193acdb36c Merge pull request #25 from aaronriekenberg/master
Add failImmediatelyOnTooLongFrame option to DelimiterBasedFrameDecoder and LengthFieldBasedFrameDecoder
2011-11-09 23:30:39 -08:00
Norman Maurer
b3b096834c Merge pull request #45 from sunng87/master
Fix NETTY-452, add an option for whether to count length field into packet length or not
2011-11-09 11:38:46 -08:00
Norman Maurer
85119dd2fb Merge pull request #49 from motlin/master
Fixes from static-analysis tools.
2011-11-09 05:45:56 -08:00
Craig P. Motlin
1fdab7bb95 Make fields final where possible. 2011-11-09 08:33:45 -05:00
Craig P. Motlin
8d6d2f038e Remove redundant no-arg constructors. 2011-11-09 08:29:23 -05:00
Craig P. Motlin
13eb416b06 Remove redundant 'final' modifier from private methods. 2011-11-09 08:28:30 -05:00
Craig P. Motlin
b38cb5c081 Fix problems in Javadoc references. 2011-11-09 08:28:28 -05:00
Norman Maurer
5e925677c4 Declare field final 2011-11-09 14:03:44 +01:00
Norman Maurer
7820731a16 Merge pull request #47 from jpinner/ignore_httponly_cookies
ignore HttpOnly as a cookie name instead of throwing exception
2011-11-09 04:53:48 -08:00
Jeff Pinner
152ea47d48 make cookie decoder behavior configurable via a constructor argument 2011-11-08 12:03:23 -08:00
Jeff Pinner
fae46dabf1 ignore HttpOnly as a cookie name instead of throwing exception 2011-11-07 12:03:34 -08:00
Norman Maurer
cc472c55eb Merge pull request #46 from CruzBishop/channelbuffer-boolean
Boolean operations in channel buffers (fix for NETTY-344)
2011-11-07 03:20:50 -08:00
Cruz Bishop
dab76e266c Added tests 2011-11-07 21:13:45 +10:00
Cruz Bishop
507b9d0b70 Boolean operations in channel buffers
Adds getBoolean(index), readBoolean(), writeBoolean(value), setBoolean(index, value)
Fixes https://issues.jboss.org/browse/NETTY-344
2011-11-07 21:07:54 +10:00
Trustin Lee
53b055fc10 Merge pull request #44 from motlin/master
Remove unnecessary interface modifiers.
2011-11-06 21:53:50 -08:00
Sunng
9aa81cd083 fix typo 2011-11-07 13:35:37 +08:00
Norman Maurer
1f3d35bd34 release replaying decoder cumulation buffer after firing upstream 2011-11-06 20:35:23 +01:00
Craig P. Motlin
c27af721b0 Remove unnecessary interface modifiers. 2011-11-06 11:54:21 -05:00
Norman Maurer
47a3783d6c Merge pull request #42 from CruzBishop/LocalAddressCompareFix
Small fix for LocalAddress.compareTo
2011-11-05 23:51:33 -07:00
Cruz Bishop
8df2524bb0 Small fix for LocalAddress.compareTo when both this and o are ephermal 2011-11-06 08:08:18 +10:00
Sun Ning
942b746d73 add an option in LengthFieldBasedFrameDecoder for whether to count the length field into frame length. 2011-11-05 22:09:27 +08:00
Norman Maurer
cc758aa3b6 Fix event firing in OioAcceptedSocketChanel which I broke before 2011-11-05 08:45:33 +01:00
Norman Maurer
d176f4ae83 Replace tabs with spaces 2011-11-04 19:28:15 +01:00
Norman Maurer
5094bdc0cc Replace tabs with spaces 2011-11-04 19:18:28 +01:00
Norman Maurer
b82ee7341c IOStreamAddress is Serializable so add SerialVersionUID field 2011-11-03 20:33:32 +01:00
Norman Maurer
2449f03540 Remove not used SerialVersionUID fields 2011-11-03 20:32:23 +01:00
Norman Maurer
57a6d39014 Replace tabs by spaces 2011-11-03 19:19:00 +01:00
Norman Maurer
220d95fe0d Merge pull request #37 from normanmaurer/master
Safe construction via factory method
2011-11-03 07:36:20 -07:00
Norman Maurer
31b319a5dc Release the cumulation buffer after firing upstream so we don't end up
with a "leak" because of a very big ChannelBuffer. This patch is
extracted of the pull request 39. Thanks to arya for the patch
2011-11-03 11:25:24 +01:00
Norman Maurer
84ed71d42d Use safe-construction when calling fireChannelOpen() etc. This code is
based on the code of the following pull request:
https://github.com/netty/netty/pull/18

It just make it apply again to current master
2011-11-02 19:17:10 +01:00
Norman Maurer
56462ef91a Encoder and Decoder that wrap and unwraps the array of bytes. See
NETTY-357
2011-11-01 20:09:38 +01:00
Trustin Lee
7242771688 Merge branch 'master' of github.com:netty/netty 2011-10-31 15:22:47 -07:00
Trustin Lee
bb5bbdc99e Upgrade to JUnit 4.10 2011-10-31 15:19:50 -07:00