Skip to content

Commit 6dc5d86

Browse files
author
fengjian
committed
fix the singleton style and update the android studio to 2.1.0 preview 1
1 parent 5a5c7e1 commit 6dc5d86

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LessCode [![Jcenter Status](https://api.bintray.com/packages/openproject/maven/lesscode/images/download.svg)](https://bintray.com/openproject/maven/lesscode)
22

3-
less code, more efficient for android
3+
less code, more efficient for android, for the best android tools library!
44

55
## Overview
66

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.0.0-beta6'
8+
classpath 'com.android.tools.build:gradle:2.1.0-alpha1'
99
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
1010
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
1111
// NOTE: Do not place your application dependencies here; they belong

lesscode-core/src/main/java/com/jayfeng/lesscode/core/$.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public final class $ {
66
/**
77
* 单例
88
*/
9-
private static $ instance;
9+
private volatile static $ instance;
1010
public static $ getInstance() {
1111
if (instance == null) {
1212
synchronized ($.class) {

0 commit comments

Comments
 (0)