Skip to content

Commit

Permalink
fix javadoc format
Browse files Browse the repository at this point in the history
  • Loading branch information
cosyman committed Apr 23, 2015
1 parent f5f72a9 commit b7b6d20
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 8 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ buildscript {
}

subprojects {
version '0.9.0-SNAPSHOT'

// version '0.9.0-SNAPSHOT'
version '0.9.1'
apply plugin: 'java'

sourceCompatibility = 1.7
Expand All @@ -36,6 +36,12 @@ subprojects {
options.encoding = 'utf-8'
//enable incremental compilation
}
javadoc {
options {
locale = 'en_US'
encoding = 'UTF-8'
}
}
}

project(':device-api') {
Expand All @@ -59,10 +65,6 @@ project(':device-api') {
group = "com.github.cosysoft"
archivesBaseName = "device-api"

javadoc {
options.encoding = 'utf-8'
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from 'build/docs/javadoc'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public Void call() throws Exception {
while ((System.currentTimeMillis() - start) < milliseconds) {
Thread.sleep(500);
if (miDevice.isConfirm() && count++ > 1) {
logger.debug("确定安装");
logger.debug("Confirm");
miDevice.crossConfirmView();
break;
} else {
Expand All @@ -167,9 +167,9 @@ public Void call() throws Exception {
}

} catch (Exception e) {
// logger.info("InstallHelperTask 超时后任务暂停", e);
// logger.info("InstallHelperTask Timeout", e);
} finally {
logger.debug("fishined");
logger.debug("finished");
finished = true;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public class DeviceUnlockException extends NestedException {

public DeviceUnlockException(String msg) {
super(msg);
// TODO Auto-generated constructor stub
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public void testXiaomiInstall() {
for (AndroidDevice device : getDevices()) {
MIDeviceUtility.testInstall(device);
MIDeviceUtility.install(device, app);
// s
// device.install(app);
}
}
Expand Down

0 comments on commit b7b6d20

Please # to comment.