Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6da0191

Browse files
committed
修正PaodingMaker中使用的方法已Deprecated,將Lock.release()改為Lock.close()
重新編譯jar檔中有問題的MostWordsTokenCollector.class 加入修正說明於README
1 parent a04bab5 commit 6da0191

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#Paoding分詞器,基於Lucene4.x
2+
3+
修正了Lucene 4.9版本中已經移除的方法,重新編譯使其可以在4.9版正確載入執行。
4+
5+
原作者: http://git.oschina.net/zhzhenqin/paoding-analysis
6+
17
#Paoding分词器基于Lucene4.x
28

39
原项目见 https://code.google.com/p/paoding/

‎dist/paoding-analysis-2.0.4.jar‎

563 Bytes
Binary file not shown.

‎src/main/java/net/paoding/analysis/knife/PaodingMaker.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ public void on(Difference diff)
461461
} finally {
462462
if (obtained) {
463463
try {
464-
lock.release();
464+
lock.close();//lock.release() 此方法被刪除了
465465
} catch (Exception ex) {
466466

467467
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /