Commit Graph

3084 Commits

Author SHA1 Message Date
Trustin Lee
d23766fa27 Replace a variable with a constant wherever possible 2012-11-12 09:43:14 +09:00
Trustin Lee
12115198d0 Remove redundant 'else' branches. 2012-11-12 09:31:40 +09:00
Trustin Lee
4cd7fb1abb Remove unnecessary 'return's / Clean up QueryStringDecoder 2012-11-12 09:15:33 +09:00
Trustin Lee
a76cdc26d0 Remove unnecessary qualifiers 2012-11-12 09:11:48 +09:00
Trustin Lee
8e0437e3e6 Suppress false-positive inspection warnings / 2012-11-12 09:05:16 +09:00
Trustin Lee
dc8d9fac87 Prefer "str".equals(var) to var.equals("str") / Add proper null checks 2012-11-12 09:00:59 +09:00
Norman Maurer
0c39f9c4cf [maven-release-plugin] prepare for next development iteration 2012-11-11 19:00:55 +01:00
Norman Maurer
1198e18133 [maven-release-plugin] prepare release netty-3.6.0.Beta1 2012-11-11 19:00:48 +01:00
Norman Maurer
95074e3677 Allow to serve more then one bound port per Thread. This fix the problem that you was not able to bound thousends of ports without huge amount of threads. 2012-11-11 18:52:28 +01:00
Norman Maurer
5c2b6ffa25 [maven-release-plugin] prepare for next development iteration 2012-11-11 13:08:57 +01:00
Norman Maurer
27159fff7b [maven-release-plugin] prepare release netty-3.5.10.Final 2012-11-11 13:08:48 +01:00
Trustin Lee
6be84510dc More robust localhost resolution
Ensure the resolved localhost can be bound and connected actually
2012-11-10 08:45:07 +09:00
Trustin Lee
922a8dbb47 Use 'x' over "x" wherever possible / String.equals("") -> isEmpty() 2012-11-10 08:03:52 +09:00
Trustin Lee
d638052036 Add 'static' modifier to the methods that don't need to be member methods 2012-11-10 07:54:33 +09:00
Trustin Lee
ffe5459a88 Replace keySet() + unnecessary map lookup with entrySet() 2012-11-10 07:36:42 +09:00
Trustin Lee
9a87f1748c Make classes static wherever possible 2012-11-10 07:32:52 +09:00
Trustin Lee
9a4296f320 Use foreach loop wherever possible / Prefer String.contains() to indexOf() >= 0 / Prefer StringUtil.split() to String.split() 2012-11-10 07:24:54 +09:00
Trustin Lee
ab02e90684 Remove methods overridden but identical with the super implementation / Make constructors of abstract classes protected rather than non-sense public
AbstractWrappedByteBuf.capacity(int) should raise a UnsupportedOperationException rather than ReadOnlyBufferException.
2012-11-10 07:10:30 +09:00
Trustin Lee
ac53b9e99e Remove unnecessary throws clauses for unchecked exceptions 2012-11-10 07:07:37 +09:00
Trustin Lee
4b4c6a436b Remove unused imports 2012-11-10 07:05:18 +09:00
Trustin Lee
bc7eb20c6e Remove various unnecesary qualifiers 2012-11-10 07:02:56 +09:00
Trustin Lee
44159abefa Remove redundant field initialization 2012-11-10 06:56:39 +09:00
Trustin Lee
1b35cfee85 Remove redundant throws clauses / Suppress inspections for some false positives 2012-11-10 06:47:58 +09:00
Trustin Lee
c3c75717db Remove unnecessary this, parenthesis, and semicolons 2012-11-10 02:26:59 +09:00
Trustin Lee
5d1690dfa7 Add missing final modifiers 2012-11-10 02:19:39 +09:00
Trustin Lee
6453b71ab0 Remove recundant type casting 2012-11-10 02:13:33 +09:00
Trustin Lee
f4585b9f53 Remove unnecessary null check before equals() 2012-11-10 01:34:39 +09:00
Trustin Lee
ff03df6851 Remove unnecessary 'final' on parameter 2012-11-10 01:33:16 +09:00
Trustin Lee
72d85f58eb Remove unnecessarily qualified statis access 2012-11-10 01:31:31 +09:00
Trustin Lee
53cecdb31b Prefer isEmpty() over size() == 0 2012-11-10 01:21:25 +09:00
Trustin Lee
67f1d9a23d Upgrade netty-build to 11 2012-11-10 01:13:17 +09:00
Trustin Lee
0bc6ace8d1 Remove redundant no-arg constructors 2012-11-10 01:08:32 +09:00
Trustin Lee
74a235d29f Simplify array initialization 2012-11-10 01:00:26 +09:00
Trustin Lee
d8f0bc9e3e Do not use Vector 2012-11-10 00:59:10 +09:00
Trustin Lee
59bc375f73 Fix backward incompatibility 2012-11-10 00:48:35 +09:00
Trustin Lee
c34d0a2272 Replace dynamic regular expressions with precompiled Patterns or new StringUtil.split() 2012-11-10 00:42:35 +09:00
Trustin Lee
00d9111833 Remove concatenation with empty string 2012-11-09 17:55:12 +09:00
Trustin Lee
b0b765001c Enum should not have a non-final value 2012-11-09 17:37:03 +09:00
Trustin Lee
c06722c232 Add missing @Override annotation 2012-11-09 17:34:24 +09:00
Trustin Lee
bdaa4fbfeb Simplify SingletonHolder by using interface instead of static class 2012-11-09 17:33:26 +09:00
Trustin Lee
779ddd1d2f Replace a = a + b to a += b 2012-11-09 17:19:30 +09:00
Trustin Lee
b1f2fe752b Move private methods only used from inner classes to the inner classes 2012-11-09 17:19:10 +09:00
Trustin Lee
3e21e3250f Fix overly-strong type casts 2012-11-09 17:15:13 +09:00
Norman Maurer
1a006fafad [#719] Handle http requests without an absolute path the right way when encoding them, which is adding / to it 2012-11-09 07:16:32 +01:00
Norman Maurer
55457691d2 [#712] Fix parsing dates in the past bug in CookieDecoder 2012-11-08 10:02:50 +01:00
Norman Maurer
88c2200264 Fix checkstyle 2012-11-02 20:20:19 +01:00
Norman Maurer
19104e8774 [#698] ExceptionEvent could be swallowed if last handler in pipeline is a ChannelDownstreamHandler 2012-11-02 20:15:17 +01:00
Norman Maurer
6cd7a2743e Merge pull request #703 from jpinner/case_sensitive_method_3
HTTP method should be case sensitive (RFC-2616 Sec. 5.1.1)
2012-11-02 00:31:30 -07:00
Jeff Pinner
b0db3a04aa HTTP method should be case sensitive (RFC-2616 Sec. 5.1.1) 2012-11-01 22:42:12 -07:00
Norman Maurer
d9090ecb1b Merge branch '3' of https://github.com/netty/netty into 3 2012-10-30 08:49:11 +01:00