Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve]Fix some spelling mistakes and other issues #3915

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ public enum ByteOrderMarkEnum {
/**
* UTF_32LE
*/
UTF_32LE(ByteOrderMark.UTF_32LE),

;
UTF_32LE(ByteOrderMark.UTF_32LE);

final ByteOrderMark byteOrderMark;
final String stringPrefix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ public enum CacheLocationEnum {
/**
* No caching.It may lose some of performance.
*/
NONE;
NONE
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public enum CellDataTypeEnum {
/**
* rich text string.Support only when writing.
*/
RICH_TEXT_STRING,
;
RICH_TEXT_STRING;

private static final Map<String, CellDataTypeEnum> TYPE_ROUTING_MAP = new HashMap<String, CellDataTypeEnum>(16);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public enum CellExtraTypeEnum {
/**
* Merge
*/
MERGE,;
MERGE;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public enum HeadKindEnum {
/**
* String
*/
STRING;
STRING
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ public enum HolderEnum {
/**
* row
*/
ROW;
ROW
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ public enum NumericCellTypeEnum {
/**
* date. Support only when writing.
*/
DATE,
;
DATE
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public enum ReadDefaultReturnEnum {
/**
* Return to {@link com.alibaba.excel.metadata.data.ReadCellData}, can decide which field you need.
*/
READ_CELL_DATA,
;
READ_CELL_DATA


}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public enum RowTypeEnum {
/**
* empty
*/
EMPTY,;
EMPTY
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public enum WriteDirectionEnum {
/**
* Horizontal write.
*/
HORIZONTAL,;
HORIZONTAL
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public enum WriteLastRowTypeEnum {
/**
* Any data has been written;
*/
HAS_DATA,;
HAS_DATA
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public enum WriteTemplateAnalysisCellTypeEnum {
/**
* A collection of fields.
*/
COLLECTION,;
COLLECTION
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public enum WriteTypeEnum {
/**
* Fill.
*/
FILL,;
FILL
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,9 @@ public class ReadWorkbook extends ReadBasicParameter {
* Whether to use the default listener, which is used by default.
* <p>
* The {@link ModelBuildEventListener} is loaded by default to convert the object.
* defualt is true.
* default is true.
*/
private Boolean useDefaultListener;

/**
* Read not to {@code com.alibaba.excel.metadata.BasicParameter#clazz} value, the default will return type.
* Is only effective when set `useDefaultListener=true` or `useDefaultListener=null`.
Expand Down