1
0
mirror of https://github.com/google/nomulus synced 2026-02-10 06:50:30 +00:00

Remove unnecessary "throws" declarations

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201058582
This commit is contained in:
mcilwain
2018-06-18 14:25:42 -07:00
committed by Ben McIlwain
parent a7256f5edd
commit 5d80f124ca
377 changed files with 2297 additions and 2373 deletions

View File

@@ -21,7 +21,6 @@ import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
import com.google.common.base.Ascii;
import google.registry.util.Idn;
import java.io.IOException;
import java.util.List;
/** Command to convert IDN labels to/from punycode. */
@@ -34,7 +33,7 @@ final class ConvertIdnCommand implements Command {
private List<String> mainParameters;
@Override
public void run() throws IOException {
public void run() {
for (String label : mainParameters) {
if (label.startsWith(ACE_PREFIX)) {
System.out.println(Idn.toUnicode(Ascii.toLowerCase(label)));