Skip to content

Commit

Permalink
Merge pull request lucene-gosen#32 from lucene-gosen/issue_31
Browse files Browse the repository at this point in the history
lucene-gosen#31 Support Solr/Lucene 8.0.0
  • Loading branch information
hkazuakey authored Jun 2, 2019
2 parents 7410224 + eafcc82 commit 5e8465e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dictionary/ipadic.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dic.home=http://chasen.naist.jp/stable/ipadic/
dic.home=http://jaist.dl.osdn.jp/ipadic/24432/
dic.version=2.6.1
dic.archive=ipadic-${dic.version}.tar.gz
dic.dir=ipadic-${dic.version}
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ compileJava.options.encoding = UTF-8
# set default dictionary type
# to change the dictionary type to naist-chasen, gradle
dictype = ipadic
luceneVersion = 7.4.0
junitVersion = 4.10
randomizedrunnerVersion = 2.6.0
icu4jVersion = 61.1
luceneVersion = 8.0.0
junitVersion = 4.12
randomizedrunnerVersion = 2.7.2
icu4jVersion = 62.1
restletVersion = 2.3.0

# directories
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/net/java/sen/util/IOUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ public class IOUtils {
}

/**
* Closes all given <tt>Closeable</tt>s. Some of the
* <tt>Closeable</tt>s may be null; they are
* Closes all given <code>Closeable</code>s. Some of the
* <code>Closeable</code>s may be null; they are
* ignored. After everything is closed, the method either
* throws the first exception it hit while closing, or
* completes normally if there were no exceptions.
*
*
* @param objects
* objects to call <tt>close()</tt> on
* objects to call <code>close()</code> on
*/
public static void close(Closeable... objects) throws IOException {
Throwable th = null;
Expand All @@ -71,11 +71,11 @@ public static void close(Closeable... objects) throws IOException {
}
}
/**
* Closes all given <tt>Closeable</tt>s, suppressing all thrown exceptions.
* Some of the <tt>Closeable</tt>s may be null, they are ignored.
*
* Closes all given <code>Closeable</code>s, suppressing all thrown exceptions.
* Some of the <code>Closeable</code>s may be null, they are ignored.
*
* @param objects
* objects to call <tt>close()</tt> on
* objects to call <code>close()</code> on
*/
public static void closeWhileHandlingException(Closeable... objects) throws IOException {
for (Closeable object : objects) {
Expand All @@ -100,5 +100,5 @@ private static final void addSuppressed(Throwable exception, Throwable suppresse
}
}
}

}

0 comments on commit 5e8465e

Please sign in to comment.