mirror of
https://github.com/google/nomulus
synced 2026-09-24 00:44:32 +00: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:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user