mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
parent
a7256f5edd
commit
5d80f124ca
377 changed files with 2297 additions and 2373 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue