Permalink
Browse files

reduce java warnings

  • Loading branch information...
huangp committed Oct 6, 2017
1 parent b0d0b74 commit 50b83d4141ba908d83bdf63ed27879af1655245b
@@ -32,7 +32,6 @@
import javax.inject.Inject;
import javax.inject.Named;
import org.zanata.ApplicationConfiguration;
import org.zanata.config.SystemPropertyConfigStore;
import org.zanata.dao.DocumentDAO;
import org.zanata.model.HDocument;
import org.zanata.model.HProject;
@@ -73,7 +73,7 @@ public void activateOptions() {
}
}
InternetAddress getAddress(String addressStr) {
private InternetAddress getAddress(String addressStr) {
try {
return new InternetAddress(addressStr);
} catch (AddressException e) {
@@ -83,7 +83,7 @@ InternetAddress getAddress(String addressStr) {
}
}
InternetAddress[] parseAddress(String addressStr) {
private InternetAddress[] parseAddress(String addressStr) {
try {
return InternetAddress.parse(addressStr, true);
} catch (AddressException | NullPointerException e) {

0 comments on commit 50b83d4

Please sign in to comment.