Skip to content

Commit

Permalink
Improve AutoSizeConfig's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JessYanCoding committed Oct 11, 2018
1 parent 6181969 commit 7ee5b6f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public final class AutoSizeConfig {
*/
private boolean isCustomFragment;
/**
* 屏幕方向, {@link true} 为纵向, {@link false} 为横向
* 屏幕方向, {@code true} 为纵向, {@code false} 为横向
*/
private boolean isVertical;

Expand Down Expand Up @@ -428,7 +428,7 @@ public float getInitXdpi() {
/**
* 获取屏幕方向
*
* @return {@link true} 为纵向, {@link false} 为横向
* @return {@code true} 为纵向, {@code false} 为横向
*/
public boolean isVertical() {
return isVertical;
Expand All @@ -437,7 +437,7 @@ public boolean isVertical() {
/**
* 设置屏幕方向
*
* @param vertical {@link true} 为纵向, {@link false} 为横向
* @param vertical {@code true} 为纵向, {@code false} 为横向
*/
public void setVertical(boolean vertical) {
isVertical = vertical;
Expand Down

0 comments on commit 7ee5b6f

Please sign in to comment.