Skip to content

Commit

Permalink
修正不能通过javadoc的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
linkerlin committed Mar 24, 2014
1 parent cf276f0 commit 7eb601e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<version>2.9.1</version>
<configuration>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/huaban/analysis/jieba/CharacterUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public static boolean ccFind(char ch) {
}

/**
* 全角->半角,大写->小写
* @param input
* @return
* 全角 to 半角,大写 to 小写
* @param input 输入字符
* @return 转换后的字符
*/
public static char regularize(char input){
if (input == 12288) {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/huaban/analysis/jieba/Word.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void setTokenType(String tokenType) {

/**
* Returns the length of this character sequence. The length is the number
* of 16-bit <code>char</code>s in the sequence.</p>
* of 16-bit <code>char</code>s in the sequence.
*
* @return the number of <code>char</code>s in this sequence
*/
Expand All @@ -84,8 +84,8 @@ public int length() {
* Returns the <code>char</code> value at the specified index. An index ranges from zero
* to <tt>length() - 1</tt>. The first <code>char</code> value of the sequence is at
* index zero, the next at index one, and so on, as for array
* indexing. </p>
* <p/>
* indexing.
*
* <p>If the <code>char</code> value specified by the index is a
* <a href="{@docRoot}/java/lang/Character.html#unicode">surrogate</a>, the surrogate
* value is returned.
Expand All @@ -106,7 +106,7 @@ public char charAt(int index) {
* ends with the <code>char</code> value at index <tt>end - 1</tt>. The length
* (in <code>char</code>s) of the
* returned sequence is <tt>end - start</tt>, so if <tt>start == end</tt>
* then an empty sequence is returned. </p>
* then an empty sequence is returned.
*
* @param start the start index, inclusive
* @param end the end index, exclusive
Expand Down

0 comments on commit 7eb601e

Please sign in to comment.