Skip to content

Commit

Permalink
see 11/29 log
Browse files Browse the repository at this point in the history
  • Loading branch information
Blankj committed Nov 29, 2017
1 parent 4b72c7e commit b4e42b4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion subutil/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ android {

dependencies {
compileOnly "com.android.support:appcompat-v7:$support_version"
compileOnly "com.android.support:support-v4:$support_version"
compileOnly "com.android.support:design:$support_version"

testImplementation "junit:junit:$junit_version"
Expand Down
1 change: 0 additions & 1 deletion utilcode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ android {

dependencies {
compileOnly "com.android.support:appcompat-v7:$support_version"
compileOnly "com.android.support:support-v4:$support_version"
compileOnly "com.android.support:design:$support_version"

testImplementation "junit:junit:$junit_version"
Expand Down
4 changes: 2 additions & 2 deletions utilcode/src/main/java/com/blankj/utilcode/util/BarUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ private BarUtils() {
}

/**
* 获取状态栏高度(px)
* 获取状态栏高度(单位:px)
*
* @return 状态栏高度px
* @return 状态栏高度(单位:px)
*/
public static int getStatusBarHeight() {
Resources resources = Utils.getApp().getResources();
Expand Down
12 changes: 6 additions & 6 deletions utilcode/src/main/java/com/blankj/utilcode/util/CacheUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public final class CacheUtils {

/**
* 获取缓存实例
* <p>在/data/data/com.xxx.xxx/cache/cacheUtils目录</p>
* <p>在 /data/data/com.xxx.xxx/cache/cacheUtils 目录</p>
* <p>缓存尺寸不限</p>
* <p>缓存个数不限</p>
*
Expand All @@ -70,7 +70,7 @@ public static CacheUtils getInstance() {

/**
* 获取缓存实例
* <p>在/data/data/com.xxx.xxx/cache/cacheName目录</p>
* <p>在 /data/data/com.xxx.xxx/cache/cacheName 目录</p>
* <p>缓存尺寸不限</p>
* <p>缓存个数不限</p>
*
Expand All @@ -83,7 +83,7 @@ public static CacheUtils getInstance(final String cacheName) {

/**
* 获取缓存实例
* <p>在/data/data/com.xxx.xxx/cache/cacheUtils目录</p>
* <p>在 /data/data/com.xxx.xxx/cache/cacheUtils目录 </p>
*
* @param maxSize 最大缓存尺寸,单位字节
* @param maxCount 最大缓存个数
Expand All @@ -95,7 +95,7 @@ public static CacheUtils getInstance(final long maxSize, final int maxCount) {

/**
* 获取缓存实例
* <p>在/data/data/com.xxx.xxx/cache/cacheName目录</p>
* <p>在 /data/data/com.xxx.xxx/cache/cacheName 目录</p>
*
* @param cacheName 缓存目录名
* @param maxSize 最大缓存尺寸,单位字节
Expand All @@ -110,7 +110,7 @@ public static CacheUtils getInstance(String cacheName, final long maxSize, final

/**
* 获取缓存实例
* <p>在cacheDir目录</p>
* <p>在 cacheDir 目录</p>
* <p>缓存尺寸不限</p>
* <p>缓存个数不限</p>
*
Expand All @@ -123,7 +123,7 @@ public static CacheUtils getInstance(@NonNull final File cacheDir) {

/**
* 获取缓存实例
* <p>在cacheDir目录</p>
* <p>在 cacheDir 目录</p>
*
* @param cacheDir 缓存目录
* @param maxSize 最大缓存尺寸,单位字节
Expand Down

0 comments on commit b4e42b4

Please sign in to comment.