mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 16:32:11 +02:00
Fix some low-hanging code quality issue fruits (#1047)
* Fix some low-hanging code quality issue fruits These include problems such as: use of raw types, unnecessary throw clauses, unused variables, and more.
This commit is contained in:
parent
891745391f
commit
55ef3279e6
79 changed files with 163 additions and 196 deletions
|
@ -270,7 +270,7 @@ public abstract class ProbingAction implements Callable<ChannelFuture> {
|
|||
.handler(
|
||||
new ChannelInitializer<Channel>() {
|
||||
@Override
|
||||
protected void initChannel(Channel outboundChannel) throws Exception {
|
||||
protected void initChannel(Channel outboundChannel) {
|
||||
// Uses Handlers from Protocol to fill pipeline in order of provided handlers.
|
||||
for (Provider<? extends ChannelHandler> handlerProvider :
|
||||
protocol().handlerProviders()) {
|
||||
|
|
|
@ -414,7 +414,7 @@ public class EppMessage {
|
|||
}
|
||||
}
|
||||
|
||||
void addNamespace(String prefix, String namespaceURI) throws Exception {
|
||||
void addNamespace(String prefix, String namespaceURI) {
|
||||
checkArgument(!isNullOrEmpty(prefix), "prefix");
|
||||
checkArgument(!isNullOrEmpty(namespaceURI), "namespaceURI");
|
||||
if (nsPrefixMap.containsKey(prefix)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue