mirror of https://github.com/apache/lucene.git
LUCENE-5560: Remove useless exception block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583488 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f682af8641
commit
719d5cd12e
|
@ -38,7 +38,6 @@ import java.io.InputStream;
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
import java.io.OutputStreamWriter;
|
import java.io.OutputStreamWriter;
|
||||||
import java.io.Reader;
|
import java.io.Reader;
|
||||||
import java.io.UnsupportedEncodingException;
|
|
||||||
import java.io.Writer;
|
import java.io.Writer;
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
|
@ -206,8 +205,6 @@ public class GetMavenDependenciesTask extends Task {
|
||||||
allProperties.store(writer, null);
|
allProperties.store(writer, null);
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
throw new BuildException("Can't find file: '" + mavenDependenciesFiltersFile.getPath() + "'", e);
|
throw new BuildException("Can't find file: '" + mavenDependenciesFiltersFile.getPath() + "'", e);
|
||||||
} catch (UnsupportedEncodingException e) {
|
|
||||||
throw new BuildException(e);
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new BuildException("Exception writing out '" + mavenDependenciesFiltersFile.getPath() + "'", e);
|
throw new BuildException("Exception writing out '" + mavenDependenciesFiltersFile.getPath() + "'", e);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue